#pragma once

namespace adminform {

	using namespace System;
	using namespace System::ComponentModel;
	using namespace System::Collections;
	using namespace System::Windows::Forms;
	using namespace System::Data;
	using namespace System::Drawing;
	using namespace MySql::Data::MySqlClient;
	/// <summary>
	/// Summary for Form1
	/// </summary>
	public ref class adminForm1 : public System::Windows::Forms::Form
	{
	public:
		adminForm1(void)
		{
			InitializeComponent();
			//
			//TODO: Add the constructor code here
			//
		}

	protected:
		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		~adminForm1()
		{
			if (components)
			{
				delete components;
			}
		}
	private: System::Windows::Forms::DataGridView^  dataGridView1;
	protected: 

	private: System::Windows::Forms::MenuStrip^  menuStrip1;
	private: System::Windows::Forms::ToolStripMenuItem^  uSERSToolStripMenuItem;
	private: System::Windows::Forms::ToolStripMenuItem^  dOCTORSToolStripMenuItem;
	private: System::Windows::Forms::ToolStripMenuItem^  aDDToolStripMenuItem;
	private: System::Windows::Forms::ToolStripMenuItem^  rEMOVEToolStripMenuItem;
	private: System::Windows::Forms::ToolStripMenuItem^  uPDATEToolStripMenuItem;
	private: System::Windows::Forms::ToolStripMenuItem^  rECEPTIONISTToolStripMenuItem;
	private: System::Windows::Forms::ToolStripMenuItem^  aDDToolStripMenuItem1;
	private: System::Windows::Forms::ToolStripMenuItem^  rEMOVEToolStripMenuItem1;
	private: System::Windows::Forms::ToolStripMenuItem^  uPDATEToolStripMenuItem1;




	private: System::Windows::Forms::ToolStripMenuItem^  cASHIERToolStripMenuItem;
	private: System::Windows::Forms::ToolStripMenuItem^  aDDToolStripMenuItem3;
	private: System::Windows::Forms::ToolStripMenuItem^  mODIFYToolStripMenuItem;
	private: System::Windows::Forms::ToolStripMenuItem^  uPDATEToolStripMenuItem3;
	private: System::Windows::Forms::ToolStripMenuItem^  pATIENTToolStripMenuItem;
	private: System::Windows::Forms::ToolStripMenuItem^  aDDToolStripMenuItem4;
	private: System::Windows::Forms::ToolStripMenuItem^  rEToolStripMenuItem;
	private: System::Windows::Forms::ToolStripMenuItem^  uPDATEToolStripMenuItem4;
	private: System::Windows::Forms::ToolStripMenuItem^  uSRSToolStripMenuItem;
	private: System::Windows::Forms::TabControl^  tabControl1;



	private: System::Windows::Forms::TabPage^  tabPage1;
	private: System::Windows::Forms::Label^  label6;
	private: System::Windows::Forms::Button^  button1;
	private: System::Windows::Forms::ComboBox^  comboBox1;
	private: System::Windows::Forms::TextBox^  textBox4;
	private: System::Windows::Forms::TextBox^  textBox3;
	private: System::Windows::Forms::TextBox^  textBox2;
	private: System::Windows::Forms::TextBox^  textBox1;
	private: System::Windows::Forms::Label^  label5;
	private: System::Windows::Forms::Label^  label4;
	private: System::Windows::Forms::Label^  label3;
	private: System::Windows::Forms::Label^  label2;
	private: System::Windows::Forms::Label^  label1;
	private: System::Windows::Forms::TabControl^  tabControl2;
	private: System::Windows::Forms::TabPage^  tabPage2;
	private: System::Windows::Forms::TextBox^  textBox5;
	private: System::Windows::Forms::Label^  label8;
	private: System::Windows::Forms::Label^  label7;
	private: System::Windows::Forms::Button^  button2;
	private: System::Windows::Forms::TabControl^  tabControl3;
	private: System::Windows::Forms::TabPage^  tabPage4;




























	private: System::Windows::Forms::Label^  label9;
	private: System::Windows::Forms::Label^  label10;
	private: System::Windows::Forms::Label^  label11;
	private: System::Windows::Forms::TextBox^  textBox6;
	private: System::Windows::Forms::TextBox^  textBox7;
	private: System::Windows::Forms::TextBox^  textBox8;
	private: System::Windows::Forms::Button^  button3;
	private: System::Windows::Forms::Button^  button4;
	private: System::Windows::Forms::Button^  button5;
	private: System::Windows::Forms::Button^  button6;
	private: System::Windows::Forms::Button^  button7;
	private: System::Windows::Forms::Button^  button8;
	private: System::Windows::Forms::Button^  button9;
	private: System::Windows::Forms::Button^  button10;
	private: System::Windows::Forms::Button^  button11;
	private: System::Windows::Forms::Button^  button12;
private: System::Windows::Forms::ComboBox^  comboBox2;
private: System::Windows::Forms::TextBox^  textBox9;
private: System::Windows::Forms::Label^  label14;
private: System::Windows::Forms::Label^  label13;
private: System::Windows::Forms::Label^  label12;






private: System::Windows::Forms::TabControl^  tabControl6;
private: System::Windows::Forms::TabPage^  tabPage8;

private: System::Windows::Forms::TabControl^  tabControl7;

private: System::Windows::Forms::TabPage^  tabPage11;
private: System::Windows::Forms::TabControl^  tabControl8;
private: System::Windows::Forms::TabPage^  tabPage12;

private: System::Windows::Forms::TabControl^  tabControl9;
private: System::Windows::Forms::TabPage^  tabPage14;

private: System::Windows::Forms::TabControl^  tabControl10;
private: System::Windows::Forms::TabPage^  tabPage16;

private: System::Windows::Forms::TabControl^  tabControl11;
private: System::Windows::Forms::TabPage^  tabPage18;

private: System::Windows::Forms::TabControl^  tabControl12;
private: System::Windows::Forms::TabPage^  tabPage20;

private: System::Windows::Forms::ToolStripMenuItem^  aDMINToolStripMenuItem;
private: System::Windows::Forms::ToolStripMenuItem^  uPDATEToolStripMenuItem2;
private: System::Windows::Forms::TabControl^  tabControl13;
private: System::Windows::Forms::TabPage^  tabPage22;

private: System::Windows::Forms::TabControl^  tabControl4;
private: System::Windows::Forms::TabPage^  tabPage3;
private: System::Windows::Forms::TextBox^  textBox12;
private: System::Windows::Forms::TextBox^  textBox11;
private: System::Windows::Forms::TextBox^  textBox10;
private: System::Windows::Forms::Label^  label18;
private: System::Windows::Forms::Label^  label17;
private: System::Windows::Forms::Label^  label16;
private: System::Windows::Forms::Label^  label15;
private: System::Windows::Forms::TabControl^  tabControl5;
private: System::Windows::Forms::TabPage^  tabPage6;
private: System::Windows::Forms::Label^  label20;
private: System::Windows::Forms::TextBox^  textBox13;
private: System::Windows::Forms::Label^  label19;
private: System::Windows::Forms::Label^  label24;
private: System::Windows::Forms::Label^  label23;
private: System::Windows::Forms::Label^  label22;
private: System::Windows::Forms::Label^  label21;

private: System::Windows::Forms::TextBox^  textBox16;
private: System::Windows::Forms::TextBox^  textBox15;
private: System::Windows::Forms::TextBox^  textBox14;
private: System::Windows::Forms::ComboBox^  comboBox3;
private: System::Windows::Forms::Label^  label25;
private: System::Windows::Forms::TextBox^  textBox19;
private: System::Windows::Forms::TextBox^  textBox18;
private: System::Windows::Forms::TextBox^  textBox17;
private: System::Windows::Forms::Label^  label28;
private: System::Windows::Forms::Label^  label27;
private: System::Windows::Forms::Label^  label26;
private: System::Windows::Forms::Label^  label29;
private: System::Windows::Forms::Label^  label35;
private: System::Windows::Forms::Label^  label30;
private: System::Windows::Forms::TextBox^  textBox20;
private: System::Windows::Forms::Label^  label31;
private: System::Windows::Forms::Label^  label32;
private: System::Windows::Forms::Label^  label33;
private: System::Windows::Forms::Label^  label34;
private: System::Windows::Forms::TextBox^  textBox21;
private: System::Windows::Forms::TextBox^  textBox22;
private: System::Windows::Forms::TextBox^  textBox23;
private: System::Windows::Forms::ComboBox^  comboBox4;
private: System::Windows::Forms::Label^  label36;
private: System::Windows::Forms::Label^  label49;
private: System::Windows::Forms::Label^  label48;
private: System::Windows::Forms::Label^  label47;
private: System::Windows::Forms::Label^  label46;
private: System::Windows::Forms::Label^  label45;
private: System::Windows::Forms::Label^  label44;
private: System::Windows::Forms::Label^  label43;
private: System::Windows::Forms::Label^  label42;
private: System::Windows::Forms::Label^  label41;
private: System::Windows::Forms::Label^  label40;
private: System::Windows::Forms::Label^  label39;
private: System::Windows::Forms::Label^  label38;
private: System::Windows::Forms::Label^  label37;
private: System::Windows::Forms::TextBox^  textBox35;
private: System::Windows::Forms::TextBox^  textBox34;
private: System::Windows::Forms::TextBox^  textBox33;
private: System::Windows::Forms::TextBox^  textBox32;
private: System::Windows::Forms::TextBox^  textBox31;
private: System::Windows::Forms::TextBox^  textBox30;
private: System::Windows::Forms::TextBox^  textBox29;
private: System::Windows::Forms::TextBox^  textBox28;
private: System::Windows::Forms::TextBox^  textBox27;
private: System::Windows::Forms::TextBox^  textBox26;
private: System::Windows::Forms::TextBox^  textBox25;
private: System::Windows::Forms::TextBox^  textBox24;
private: System::Windows::Forms::TextBox^  textBox36;
private: System::Windows::Forms::Label^  label51;
private: System::Windows::Forms::Label^  label50;
private: System::Windows::Forms::TextBox^  textBox37;
private: System::Windows::Forms::Label^  label52;
private: System::Windows::Forms::Label^  label53;
private: System::Windows::Forms::TextBox^  textBox48;
private: System::Windows::Forms::TextBox^  textBox47;
private: System::Windows::Forms::TextBox^  textBox46;
private: System::Windows::Forms::TextBox^  textBox45;
private: System::Windows::Forms::TextBox^  textBox44;
private: System::Windows::Forms::TextBox^  textBox43;
private: System::Windows::Forms::TextBox^  textBox42;
private: System::Windows::Forms::TextBox^  textBox41;
private: System::Windows::Forms::TextBox^  textBox40;
private: System::Windows::Forms::TextBox^  textBox39;
private: System::Windows::Forms::TextBox^  textBox38;
private: System::Windows::Forms::Label^  label64;
private: System::Windows::Forms::Label^  label63;
private: System::Windows::Forms::Label^  label62;
private: System::Windows::Forms::Label^  label61;
private: System::Windows::Forms::Label^  label60;
private: System::Windows::Forms::Label^  label59;
private: System::Windows::Forms::Label^  label58;
private: System::Windows::Forms::Label^  label57;
private: System::Windows::Forms::Label^  label56;
private: System::Windows::Forms::Label^  label55;
private: System::Windows::Forms::Label^  label54;
private: System::Windows::Forms::Label^  label65;
private: System::Windows::Forms::Button^  button13;
private: System::Windows::Forms::ComboBox^  comboBox5;
private: System::Windows::Forms::Label^  label68;
private: System::Windows::Forms::Label^  label67;
private: System::Windows::Forms::TextBox^  textBox51;
private: System::Windows::Forms::Label^  label66;
private: System::Windows::Forms::TextBox^  textBox50;
private: System::Windows::Forms::TextBox^  textBox49;
private: System::Windows::Forms::Label^  label69;
private: System::Windows::Forms::TextBox^  textBox52;











































	private:
		/// <summary>
		/// Required designer variable.
		/// </summary>
		System::ComponentModel::Container ^components;

#pragma region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		void InitializeComponent(void)
		{
			this->dataGridView1 = (gcnew System::Windows::Forms::DataGridView());
			this->menuStrip1 = (gcnew System::Windows::Forms::MenuStrip());
			this->uSERSToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->dOCTORSToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->aDDToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->rEMOVEToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->uPDATEToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->rECEPTIONISTToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->aDDToolStripMenuItem1 = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->rEMOVEToolStripMenuItem1 = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->uPDATEToolStripMenuItem1 = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->cASHIERToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->aDDToolStripMenuItem3 = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->mODIFYToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->uPDATEToolStripMenuItem3 = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->pATIENTToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->aDDToolStripMenuItem4 = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->rEToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->uPDATEToolStripMenuItem4 = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->uSRSToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->aDMINToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->uPDATEToolStripMenuItem2 = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->tabControl1 = (gcnew System::Windows::Forms::TabControl());
			this->tabPage1 = (gcnew System::Windows::Forms::TabPage());
			this->label6 = (gcnew System::Windows::Forms::Label());
			this->button1 = (gcnew System::Windows::Forms::Button());
			this->comboBox1 = (gcnew System::Windows::Forms::ComboBox());
			this->textBox4 = (gcnew System::Windows::Forms::TextBox());
			this->textBox3 = (gcnew System::Windows::Forms::TextBox());
			this->textBox2 = (gcnew System::Windows::Forms::TextBox());
			this->textBox1 = (gcnew System::Windows::Forms::TextBox());
			this->label5 = (gcnew System::Windows::Forms::Label());
			this->label4 = (gcnew System::Windows::Forms::Label());
			this->label3 = (gcnew System::Windows::Forms::Label());
			this->label2 = (gcnew System::Windows::Forms::Label());
			this->label1 = (gcnew System::Windows::Forms::Label());
			this->tabControl2 = (gcnew System::Windows::Forms::TabControl());
			this->tabPage2 = (gcnew System::Windows::Forms::TabPage());
			this->textBox5 = (gcnew System::Windows::Forms::TextBox());
			this->label8 = (gcnew System::Windows::Forms::Label());
			this->button2 = (gcnew System::Windows::Forms::Button());
			this->label7 = (gcnew System::Windows::Forms::Label());
			this->tabControl3 = (gcnew System::Windows::Forms::TabControl());
			this->tabPage4 = (gcnew System::Windows::Forms::TabPage());
			this->comboBox2 = (gcnew System::Windows::Forms::ComboBox());
			this->textBox9 = (gcnew System::Windows::Forms::TextBox());
			this->label14 = (gcnew System::Windows::Forms::Label());
			this->label13 = (gcnew System::Windows::Forms::Label());
			this->label12 = (gcnew System::Windows::Forms::Label());
			this->button3 = (gcnew System::Windows::Forms::Button());
			this->label9 = (gcnew System::Windows::Forms::Label());
			this->label10 = (gcnew System::Windows::Forms::Label());
			this->label11 = (gcnew System::Windows::Forms::Label());
			this->textBox6 = (gcnew System::Windows::Forms::TextBox());
			this->textBox7 = (gcnew System::Windows::Forms::TextBox());
			this->textBox8 = (gcnew System::Windows::Forms::TextBox());
			this->button4 = (gcnew System::Windows::Forms::Button());
			this->button5 = (gcnew System::Windows::Forms::Button());
			this->button6 = (gcnew System::Windows::Forms::Button());
			this->button7 = (gcnew System::Windows::Forms::Button());
			this->button8 = (gcnew System::Windows::Forms::Button());
			this->button9 = (gcnew System::Windows::Forms::Button());
			this->button10 = (gcnew System::Windows::Forms::Button());
			this->button11 = (gcnew System::Windows::Forms::Button());
			this->button12 = (gcnew System::Windows::Forms::Button());
			this->tabControl6 = (gcnew System::Windows::Forms::TabControl());
			this->tabPage8 = (gcnew System::Windows::Forms::TabPage());
			this->comboBox3 = (gcnew System::Windows::Forms::ComboBox());
			this->label25 = (gcnew System::Windows::Forms::Label());
			this->label24 = (gcnew System::Windows::Forms::Label());
			this->label23 = (gcnew System::Windows::Forms::Label());
			this->label22 = (gcnew System::Windows::Forms::Label());
			this->label21 = (gcnew System::Windows::Forms::Label());
			this->textBox16 = (gcnew System::Windows::Forms::TextBox());
			this->textBox15 = (gcnew System::Windows::Forms::TextBox());
			this->textBox14 = (gcnew System::Windows::Forms::TextBox());
			this->tabControl7 = (gcnew System::Windows::Forms::TabControl());
			this->tabPage11 = (gcnew System::Windows::Forms::TabPage());
			this->label29 = (gcnew System::Windows::Forms::Label());
			this->textBox19 = (gcnew System::Windows::Forms::TextBox());
			this->textBox18 = (gcnew System::Windows::Forms::TextBox());
			this->textBox17 = (gcnew System::Windows::Forms::TextBox());
			this->label28 = (gcnew System::Windows::Forms::Label());
			this->label27 = (gcnew System::Windows::Forms::Label());
			this->label26 = (gcnew System::Windows::Forms::Label());
			this->tabControl8 = (gcnew System::Windows::Forms::TabControl());
			this->tabPage12 = (gcnew System::Windows::Forms::TabPage());
			this->label35 = (gcnew System::Windows::Forms::Label());
			this->label30 = (gcnew System::Windows::Forms::Label());
			this->textBox20 = (gcnew System::Windows::Forms::TextBox());
			this->tabControl9 = (gcnew System::Windows::Forms::TabControl());
			this->tabPage14 = (gcnew System::Windows::Forms::TabPage());
			this->label36 = (gcnew System::Windows::Forms::Label());
			this->textBox23 = (gcnew System::Windows::Forms::TextBox());
			this->label31 = (gcnew System::Windows::Forms::Label());
			this->label32 = (gcnew System::Windows::Forms::Label());
			this->label33 = (gcnew System::Windows::Forms::Label());
			this->label34 = (gcnew System::Windows::Forms::Label());
			this->comboBox4 = (gcnew System::Windows::Forms::ComboBox());
			this->textBox22 = (gcnew System::Windows::Forms::TextBox());
			this->textBox21 = (gcnew System::Windows::Forms::TextBox());
			this->tabControl10 = (gcnew System::Windows::Forms::TabControl());
			this->tabPage16 = (gcnew System::Windows::Forms::TabPage());
			this->textBox35 = (gcnew System::Windows::Forms::TextBox());
			this->textBox34 = (gcnew System::Windows::Forms::TextBox());
			this->textBox33 = (gcnew System::Windows::Forms::TextBox());
			this->textBox32 = (gcnew System::Windows::Forms::TextBox());
			this->textBox31 = (gcnew System::Windows::Forms::TextBox());
			this->textBox30 = (gcnew System::Windows::Forms::TextBox());
			this->textBox29 = (gcnew System::Windows::Forms::TextBox());
			this->textBox28 = (gcnew System::Windows::Forms::TextBox());
			this->textBox27 = (gcnew System::Windows::Forms::TextBox());
			this->textBox26 = (gcnew System::Windows::Forms::TextBox());
			this->textBox25 = (gcnew System::Windows::Forms::TextBox());
			this->textBox24 = (gcnew System::Windows::Forms::TextBox());
			this->label49 = (gcnew System::Windows::Forms::Label());
			this->label48 = (gcnew System::Windows::Forms::Label());
			this->label47 = (gcnew System::Windows::Forms::Label());
			this->label46 = (gcnew System::Windows::Forms::Label());
			this->label45 = (gcnew System::Windows::Forms::Label());
			this->label44 = (gcnew System::Windows::Forms::Label());
			this->label43 = (gcnew System::Windows::Forms::Label());
			this->label42 = (gcnew System::Windows::Forms::Label());
			this->label41 = (gcnew System::Windows::Forms::Label());
			this->label40 = (gcnew System::Windows::Forms::Label());
			this->label39 = (gcnew System::Windows::Forms::Label());
			this->label38 = (gcnew System::Windows::Forms::Label());
			this->label37 = (gcnew System::Windows::Forms::Label());
			this->tabControl11 = (gcnew System::Windows::Forms::TabControl());
			this->tabPage18 = (gcnew System::Windows::Forms::TabPage());
			this->textBox36 = (gcnew System::Windows::Forms::TextBox());
			this->label51 = (gcnew System::Windows::Forms::Label());
			this->label50 = (gcnew System::Windows::Forms::Label());
			this->tabControl12 = (gcnew System::Windows::Forms::TabControl());
			this->tabPage20 = (gcnew System::Windows::Forms::TabPage());
			this->label64 = (gcnew System::Windows::Forms::Label());
			this->label63 = (gcnew System::Windows::Forms::Label());
			this->label62 = (gcnew System::Windows::Forms::Label());
			this->label61 = (gcnew System::Windows::Forms::Label());
			this->label60 = (gcnew System::Windows::Forms::Label());
			this->label59 = (gcnew System::Windows::Forms::Label());
			this->label58 = (gcnew System::Windows::Forms::Label());
			this->label57 = (gcnew System::Windows::Forms::Label());
			this->label56 = (gcnew System::Windows::Forms::Label());
			this->label55 = (gcnew System::Windows::Forms::Label());
			this->label54 = (gcnew System::Windows::Forms::Label());
			this->textBox37 = (gcnew System::Windows::Forms::TextBox());
			this->label53 = (gcnew System::Windows::Forms::Label());
			this->textBox48 = (gcnew System::Windows::Forms::TextBox());
			this->textBox47 = (gcnew System::Windows::Forms::TextBox());
			this->textBox46 = (gcnew System::Windows::Forms::TextBox());
			this->textBox45 = (gcnew System::Windows::Forms::TextBox());
			this->textBox44 = (gcnew System::Windows::Forms::TextBox());
			this->textBox43 = (gcnew System::Windows::Forms::TextBox());
			this->textBox42 = (gcnew System::Windows::Forms::TextBox());
			this->textBox41 = (gcnew System::Windows::Forms::TextBox());
			this->textBox40 = (gcnew System::Windows::Forms::TextBox());
			this->textBox39 = (gcnew System::Windows::Forms::TextBox());
			this->textBox38 = (gcnew System::Windows::Forms::TextBox());
			this->label52 = (gcnew System::Windows::Forms::Label());
			this->tabControl13 = (gcnew System::Windows::Forms::TabControl());
			this->tabPage22 = (gcnew System::Windows::Forms::TabPage());
			this->button13 = (gcnew System::Windows::Forms::Button());
			this->comboBox5 = (gcnew System::Windows::Forms::ComboBox());
			this->label68 = (gcnew System::Windows::Forms::Label());
			this->label67 = (gcnew System::Windows::Forms::Label());
			this->textBox51 = (gcnew System::Windows::Forms::TextBox());
			this->label66 = (gcnew System::Windows::Forms::Label());
			this->textBox50 = (gcnew System::Windows::Forms::TextBox());
			this->textBox49 = (gcnew System::Windows::Forms::TextBox());
			this->label69 = (gcnew System::Windows::Forms::Label());
			this->label65 = (gcnew System::Windows::Forms::Label());
			this->tabControl4 = (gcnew System::Windows::Forms::TabControl());
			this->tabPage3 = (gcnew System::Windows::Forms::TabPage());
			this->label18 = (gcnew System::Windows::Forms::Label());
			this->label17 = (gcnew System::Windows::Forms::Label());
			this->label16 = (gcnew System::Windows::Forms::Label());
			this->label15 = (gcnew System::Windows::Forms::Label());
			this->textBox12 = (gcnew System::Windows::Forms::TextBox());
			this->textBox11 = (gcnew System::Windows::Forms::TextBox());
			this->textBox10 = (gcnew System::Windows::Forms::TextBox());
			this->tabControl5 = (gcnew System::Windows::Forms::TabControl());
			this->tabPage6 = (gcnew System::Windows::Forms::TabPage());
			this->label20 = (gcnew System::Windows::Forms::Label());
			this->textBox13 = (gcnew System::Windows::Forms::TextBox());
			this->label19 = (gcnew System::Windows::Forms::Label());
			this->textBox52 = (gcnew System::Windows::Forms::TextBox());
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->dataGridView1))->BeginInit();
			this->menuStrip1->SuspendLayout();
			this->tabControl1->SuspendLayout();
			this->tabPage1->SuspendLayout();
			this->tabControl2->SuspendLayout();
			this->tabPage2->SuspendLayout();
			this->tabControl3->SuspendLayout();
			this->tabPage4->SuspendLayout();
			this->tabControl6->SuspendLayout();
			this->tabPage8->SuspendLayout();
			this->tabControl7->SuspendLayout();
			this->tabPage11->SuspendLayout();
			this->tabControl8->SuspendLayout();
			this->tabPage12->SuspendLayout();
			this->tabControl9->SuspendLayout();
			this->tabPage14->SuspendLayout();
			this->tabControl10->SuspendLayout();
			this->tabPage16->SuspendLayout();
			this->tabControl11->SuspendLayout();
			this->tabPage18->SuspendLayout();
			this->tabControl12->SuspendLayout();
			this->tabPage20->SuspendLayout();
			this->tabControl13->SuspendLayout();
			this->tabPage22->SuspendLayout();
			this->tabControl4->SuspendLayout();
			this->tabPage3->SuspendLayout();
			this->tabControl5->SuspendLayout();
			this->tabPage6->SuspendLayout();
			this->SuspendLayout();
			// 
			// dataGridView1
			// 
			this->dataGridView1->ColumnHeadersHeightSizeMode = System::Windows::Forms::DataGridViewColumnHeadersHeightSizeMode::AutoSize;
			this->dataGridView1->Location = System::Drawing::Point(264, 90);
			this->dataGridView1->Name = L"dataGridView1";
			this->dataGridView1->Size = System::Drawing::Size(490, 387);
			this->dataGridView1->TabIndex = 0;
			// 
			// menuStrip1
			// 
			this->menuStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(1) {this->uSERSToolStripMenuItem});
			this->menuStrip1->Location = System::Drawing::Point(0, 0);
			this->menuStrip1->Name = L"menuStrip1";
			this->menuStrip1->Size = System::Drawing::Size(783, 24);
			this->menuStrip1->TabIndex = 2;
			this->menuStrip1->Text = L"menuStrip1";
			// 
			// uSERSToolStripMenuItem
			// 
			this->uSERSToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(6) {this->dOCTORSToolStripMenuItem, 
				this->rECEPTIONISTToolStripMenuItem, this->cASHIERToolStripMenuItem, this->pATIENTToolStripMenuItem, this->uSRSToolStripMenuItem, 
				this->aDMINToolStripMenuItem});
			this->uSERSToolStripMenuItem->Name = L"uSERSToolStripMenuItem";
			this->uSERSToolStripMenuItem->Size = System::Drawing::Size(77, 20);
			this->uSERSToolStripMenuItem->Text = L"USERS LIST";
			this->uSERSToolStripMenuItem->Click += gcnew System::EventHandler(this, &adminForm1::uSERSToolStripMenuItem_Click);
			// 
			// dOCTORSToolStripMenuItem
			// 
			this->dOCTORSToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(3) {this->aDDToolStripMenuItem, 
				this->rEMOVEToolStripMenuItem, this->uPDATEToolStripMenuItem});
			this->dOCTORSToolStripMenuItem->Name = L"dOCTORSToolStripMenuItem";
			this->dOCTORSToolStripMenuItem->Size = System::Drawing::Size(152, 22);
			this->dOCTORSToolStripMenuItem->Text = L"DOCTORS";
			this->dOCTORSToolStripMenuItem->Click += gcnew System::EventHandler(this, &adminForm1::dOCTORSToolStripMenuItem_Click);
			// 
			// aDDToolStripMenuItem
			// 
			this->aDDToolStripMenuItem->Name = L"aDDToolStripMenuItem";
			this->aDDToolStripMenuItem->Size = System::Drawing::Size(152, 22);
			this->aDDToolStripMenuItem->Text = L"ADD";
			this->aDDToolStripMenuItem->Click += gcnew System::EventHandler(this, &adminForm1::aDDToolStripMenuItem_Click);
			// 
			// rEMOVEToolStripMenuItem
			// 
			this->rEMOVEToolStripMenuItem->Name = L"rEMOVEToolStripMenuItem";
			this->rEMOVEToolStripMenuItem->Size = System::Drawing::Size(152, 22);
			this->rEMOVEToolStripMenuItem->Text = L"REMOVE";
			this->rEMOVEToolStripMenuItem->Click += gcnew System::EventHandler(this, &adminForm1::rEMOVEToolStripMenuItem_Click);
			// 
			// uPDATEToolStripMenuItem
			// 
			this->uPDATEToolStripMenuItem->Name = L"uPDATEToolStripMenuItem";
			this->uPDATEToolStripMenuItem->Size = System::Drawing::Size(152, 22);
			this->uPDATEToolStripMenuItem->Text = L"UPDATE";
			this->uPDATEToolStripMenuItem->Click += gcnew System::EventHandler(this, &adminForm1::uPDATEToolStripMenuItem_Click);
			// 
			// rECEPTIONISTToolStripMenuItem
			// 
			this->rECEPTIONISTToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(3) {this->aDDToolStripMenuItem1, 
				this->rEMOVEToolStripMenuItem1, this->uPDATEToolStripMenuItem1});
			this->rECEPTIONISTToolStripMenuItem->Name = L"rECEPTIONISTToolStripMenuItem";
			this->rECEPTIONISTToolStripMenuItem->Size = System::Drawing::Size(152, 22);
			this->rECEPTIONISTToolStripMenuItem->Text = L"RECEPTIONIST";
			this->rECEPTIONISTToolStripMenuItem->Click += gcnew System::EventHandler(this, &adminForm1::rECEPTIONISTToolStripMenuItem_Click);
			// 
			// aDDToolStripMenuItem1
			// 
			this->aDDToolStripMenuItem1->Name = L"aDDToolStripMenuItem1";
			this->aDDToolStripMenuItem1->Size = System::Drawing::Size(120, 22);
			this->aDDToolStripMenuItem1->Text = L"ADD";
			this->aDDToolStripMenuItem1->Click += gcnew System::EventHandler(this, &adminForm1::aDDToolStripMenuItem1_Click);
			// 
			// rEMOVEToolStripMenuItem1
			// 
			this->rEMOVEToolStripMenuItem1->Name = L"rEMOVEToolStripMenuItem1";
			this->rEMOVEToolStripMenuItem1->Size = System::Drawing::Size(120, 22);
			this->rEMOVEToolStripMenuItem1->Text = L"REMOVE";
			this->rEMOVEToolStripMenuItem1->Click += gcnew System::EventHandler(this, &adminForm1::rEMOVEToolStripMenuItem1_Click);
			// 
			// uPDATEToolStripMenuItem1
			// 
			this->uPDATEToolStripMenuItem1->Name = L"uPDATEToolStripMenuItem1";
			this->uPDATEToolStripMenuItem1->Size = System::Drawing::Size(120, 22);
			this->uPDATEToolStripMenuItem1->Text = L"UPDATE";
			this->uPDATEToolStripMenuItem1->Click += gcnew System::EventHandler(this, &adminForm1::uPDATEToolStripMenuItem1_Click);
			// 
			// cASHIERToolStripMenuItem
			// 
			this->cASHIERToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(3) {this->aDDToolStripMenuItem3, 
				this->mODIFYToolStripMenuItem, this->uPDATEToolStripMenuItem3});
			this->cASHIERToolStripMenuItem->Name = L"cASHIERToolStripMenuItem";
			this->cASHIERToolStripMenuItem->Size = System::Drawing::Size(152, 22);
			this->cASHIERToolStripMenuItem->Text = L"CASHIER";
			this->cASHIERToolStripMenuItem->Click += gcnew System::EventHandler(this, &adminForm1::cASHIERToolStripMenuItem_Click);
			// 
			// aDDToolStripMenuItem3
			// 
			this->aDDToolStripMenuItem3->Name = L"aDDToolStripMenuItem3";
			this->aDDToolStripMenuItem3->Size = System::Drawing::Size(120, 22);
			this->aDDToolStripMenuItem3->Text = L"ADD";
			this->aDDToolStripMenuItem3->Click += gcnew System::EventHandler(this, &adminForm1::aDDToolStripMenuItem3_Click);
			// 
			// mODIFYToolStripMenuItem
			// 
			this->mODIFYToolStripMenuItem->Name = L"mODIFYToolStripMenuItem";
			this->mODIFYToolStripMenuItem->Size = System::Drawing::Size(120, 22);
			this->mODIFYToolStripMenuItem->Text = L"REMOVE";
			this->mODIFYToolStripMenuItem->Click += gcnew System::EventHandler(this, &adminForm1::mODIFYToolStripMenuItem_Click);
			// 
			// uPDATEToolStripMenuItem3
			// 
			this->uPDATEToolStripMenuItem3->Name = L"uPDATEToolStripMenuItem3";
			this->uPDATEToolStripMenuItem3->Size = System::Drawing::Size(120, 22);
			this->uPDATEToolStripMenuItem3->Text = L"modify";
			this->uPDATEToolStripMenuItem3->Click += gcnew System::EventHandler(this, &adminForm1::uPDATEToolStripMenuItem3_Click);
			// 
			// pATIENTToolStripMenuItem
			// 
			this->pATIENTToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(3) {this->aDDToolStripMenuItem4, 
				this->rEToolStripMenuItem, this->uPDATEToolStripMenuItem4});
			this->pATIENTToolStripMenuItem->Name = L"pATIENTToolStripMenuItem";
			this->pATIENTToolStripMenuItem->Size = System::Drawing::Size(152, 22);
			this->pATIENTToolStripMenuItem->Text = L"PATIENT";
			this->pATIENTToolStripMenuItem->Click += gcnew System::EventHandler(this, &adminForm1::pATIENTToolStripMenuItem_Click);
			// 
			// aDDToolStripMenuItem4
			// 
			this->aDDToolStripMenuItem4->Name = L"aDDToolStripMenuItem4";
			this->aDDToolStripMenuItem4->Size = System::Drawing::Size(120, 22);
			this->aDDToolStripMenuItem4->Text = L"ADD";
			this->aDDToolStripMenuItem4->Click += gcnew System::EventHandler(this, &adminForm1::aDDToolStripMenuItem4_Click);
			// 
			// rEToolStripMenuItem
			// 
			this->rEToolStripMenuItem->Name = L"rEToolStripMenuItem";
			this->rEToolStripMenuItem->Size = System::Drawing::Size(120, 22);
			this->rEToolStripMenuItem->Text = L"REMOVE";
			this->rEToolStripMenuItem->Click += gcnew System::EventHandler(this, &adminForm1::rEToolStripMenuItem_Click);
			// 
			// uPDATEToolStripMenuItem4
			// 
			this->uPDATEToolStripMenuItem4->Name = L"uPDATEToolStripMenuItem4";
			this->uPDATEToolStripMenuItem4->Size = System::Drawing::Size(120, 22);
			this->uPDATEToolStripMenuItem4->Text = L"UPDATE";
			this->uPDATEToolStripMenuItem4->Click += gcnew System::EventHandler(this, &adminForm1::uPDATEToolStripMenuItem4_Click);
			// 
			// uSRSToolStripMenuItem
			// 
			this->uSRSToolStripMenuItem->Name = L"uSRSToolStripMenuItem";
			this->uSRSToolStripMenuItem->Size = System::Drawing::Size(152, 22);
			this->uSRSToolStripMenuItem->Text = L"USERS";
			this->uSRSToolStripMenuItem->Click += gcnew System::EventHandler(this, &adminForm1::uSRSToolStripMenuItem_Click);
			// 
			// aDMINToolStripMenuItem
			// 
			this->aDMINToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(1) {this->uPDATEToolStripMenuItem2});
			this->aDMINToolStripMenuItem->Name = L"aDMINToolStripMenuItem";
			this->aDMINToolStripMenuItem->Size = System::Drawing::Size(152, 22);
			this->aDMINToolStripMenuItem->Text = L"ADMIN";
			this->aDMINToolStripMenuItem->Click += gcnew System::EventHandler(this, &adminForm1::aDMINToolStripMenuItem_Click);
			// 
			// uPDATEToolStripMenuItem2
			// 
			this->uPDATEToolStripMenuItem2->Name = L"uPDATEToolStripMenuItem2";
			this->uPDATEToolStripMenuItem2->Size = System::Drawing::Size(152, 22);
			this->uPDATEToolStripMenuItem2->Text = L"UPDATE";
			this->uPDATEToolStripMenuItem2->Click += gcnew System::EventHandler(this, &adminForm1::uPDATEToolStripMenuItem2_Click);
			// 
			// tabControl1
			// 
			this->tabControl1->Controls->Add(this->tabPage1);
			this->tabControl1->Location = System::Drawing::Point(21, 27);
			this->tabControl1->Name = L"tabControl1";
			this->tabControl1->SelectedIndex = 0;
			this->tabControl1->Size = System::Drawing::Size(237, 450);
			this->tabControl1->TabIndex = 3;
			this->tabControl1->Visible = false;
			// 
			// tabPage1
			// 
			this->tabPage1->Controls->Add(this->label6);
			this->tabPage1->Controls->Add(this->button1);
			this->tabPage1->Controls->Add(this->comboBox1);
			this->tabPage1->Controls->Add(this->textBox4);
			this->tabPage1->Controls->Add(this->textBox3);
			this->tabPage1->Controls->Add(this->textBox2);
			this->tabPage1->Controls->Add(this->textBox1);
			this->tabPage1->Controls->Add(this->label5);
			this->tabPage1->Controls->Add(this->label4);
			this->tabPage1->Controls->Add(this->label3);
			this->tabPage1->Controls->Add(this->label2);
			this->tabPage1->Controls->Add(this->label1);
			this->tabPage1->Location = System::Drawing::Point(4, 22);
			this->tabPage1->Name = L"tabPage1";
			this->tabPage1->Padding = System::Windows::Forms::Padding(3);
			this->tabPage1->Size = System::Drawing::Size(229, 424);
			this->tabPage1->TabIndex = 0;
			this->tabPage1->UseVisualStyleBackColor = true;
			this->tabPage1->Click += gcnew System::EventHandler(this, &adminForm1::tabPage1_Click);
			// 
			// label6
			// 
			this->label6->AutoSize = true;
			this->label6->BackColor = System::Drawing::Color::White;
			this->label6->Font = (gcnew System::Drawing::Font(L"Gabriola", 21.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->label6->Location = System::Drawing::Point(0, 0);
			this->label6->Name = L"label6";
			this->label6->Size = System::Drawing::Size(215, 108);
			this->label6->TabIndex = 5;
			this->label6->Text = L"Enter The Details \r\nDoctor to Be Added";
			// 
			// button1
			// 
			this->button1->Location = System::Drawing::Point(69, 382);
			this->button1->Name = L"button1";
			this->button1->Size = System::Drawing::Size(75, 23);
			this->button1->TabIndex = 9;
			this->button1->Text = L"Add";
			this->button1->UseVisualStyleBackColor = true;
			this->button1->Click += gcnew System::EventHandler(this, &adminForm1::button1_Click_1);
			// 
			// comboBox1
			// 
			this->comboBox1->BackColor = System::Drawing::SystemColors::InactiveCaption;
			this->comboBox1->DropDownHeight = 30;
			this->comboBox1->FormattingEnabled = true;
			this->comboBox1->IntegralHeight = false;
			this->comboBox1->Items->AddRange(gcnew cli::array< System::Object^  >(46) {L"Audiologists", L"Allergist", L"Andrologists", 
				L"Anesthesiologists", L"Cardiologist", L"Dentist", L"Dermatologists", L"Endocrinologists", L"Epidemiologists", L"Family Practician", 
				L"Gastroenterologists", L"Gynecologists", L"Hematologists", L"Hepatologists", L"Immunologists", L"Infectious Disease Specialists", 
				L"Internal Medicine Specialists", L"Internists", L"Medical Geneticist", L"Microbiologists", L"Neonatologist", L"Nephrologist", 
				L"Neurologist", L"Neurosurgeons", L"Obstetrician", L"Oncologist", L"Ophthalmologist", L"Orthopedic Surgeons", L"ENT specialists", 
				L"Perinatologist", L"Paleopathologist", L"Parasitologist", L"Pathologists", L"Pediatricians", L"Physiologists", L"Physiatrist", 
				L"Plastic Surgeon", L"Podiatrists", L"Psychiatrists", L"Pulmonologist", L"Radiologists", L"Rheumatologsists", L"Surgeons", L"Urologists", 
				L"Emergency Doctors", L"Veterinarian"});
			this->comboBox1->Location = System::Drawing::Point(123, 328);
			this->comboBox1->Name = L"comboBox1";
			this->comboBox1->Size = System::Drawing::Size(100, 21);
			this->comboBox1->TabIndex = 5;
			// 
			// textBox4
			// 
			this->textBox4->Location = System::Drawing::Point(123, 279);
			this->textBox4->Name = L"textBox4";
			this->textBox4->Size = System::Drawing::Size(100, 20);
			this->textBox4->TabIndex = 8;
			this->textBox4->TextChanged += gcnew System::EventHandler(this, &adminForm1::textBox4_TextChanged);
			// 
			// textBox3
			// 
			this->textBox3->Location = System::Drawing::Point(123, 230);
			this->textBox3->Name = L"textBox3";
			this->textBox3->Size = System::Drawing::Size(100, 20);
			this->textBox3->TabIndex = 7;
			// 
			// textBox2
			// 
			this->textBox2->Location = System::Drawing::Point(123, 182);
			this->textBox2->Name = L"textBox2";
			this->textBox2->Size = System::Drawing::Size(100, 20);
			this->textBox2->TabIndex = 6;
			// 
			// textBox1
			// 
			this->textBox1->Location = System::Drawing::Point(123, 137);
			this->textBox1->Name = L"textBox1";
			this->textBox1->Size = System::Drawing::Size(100, 20);
			this->textBox1->TabIndex = 5;
			// 
			// label5
			// 
			this->label5->AutoSize = true;
			this->label5->Location = System::Drawing::Point(29, 328);
			this->label5->Name = L"label5";
			this->label5->Size = System::Drawing::Size(70, 13);
			this->label5->TabIndex = 4;
			this->label5->Text = L"specialization";
			// 
			// label4
			// 
			this->label4->AutoSize = true;
			this->label4->Location = System::Drawing::Point(54, 279);
			this->label4->Name = L"label4";
			this->label4->Size = System::Drawing::Size(44, 13);
			this->label4->TabIndex = 3;
			this->label4->Text = L"address";
			this->label4->Click += gcnew System::EventHandler(this, &adminForm1::label4_Click);
			// 
			// label3
			// 
			this->label3->AutoSize = true;
			this->label3->Location = System::Drawing::Point(15, 230);
			this->label3->Name = L"label3";
			this->label3->Size = System::Drawing::Size(84, 13);
			this->label3->TabIndex = 2;
			this->label3->Text = L"contact_number";
			// 
			// label2
			// 
			this->label2->AutoSize = true;
			this->label2->Location = System::Drawing::Point(29, 182);
			this->label2->Name = L"label2";
			this->label2->Size = System::Drawing::Size(69, 13);
			this->label2->TabIndex = 1;
			this->label2->Text = L"doctor_name";
			// 
			// label1
			// 
			this->label1->AutoSize = true;
			this->label1->Location = System::Drawing::Point(6, 137);
			this->label1->Name = L"label1";
			this->label1->Size = System::Drawing::Size(95, 13);
			this->label1->TabIndex = 0;
			this->label1->Text = L"doctor_user_name";
			// 
			// tabControl2
			// 
			this->tabControl2->Controls->Add(this->tabPage2);
			this->tabControl2->Location = System::Drawing::Point(21, 27);
			this->tabControl2->Name = L"tabControl2";
			this->tabControl2->SelectedIndex = 0;
			this->tabControl2->Size = System::Drawing::Size(233, 450);
			this->tabControl2->TabIndex = 5;
			this->tabControl2->Visible = false;
			// 
			// tabPage2
			// 
			this->tabPage2->Controls->Add(this->textBox5);
			this->tabPage2->Controls->Add(this->label8);
			this->tabPage2->Controls->Add(this->button2);
			this->tabPage2->Controls->Add(this->label7);
			this->tabPage2->Location = System::Drawing::Point(4, 22);
			this->tabPage2->Name = L"tabPage2";
			this->tabPage2->Padding = System::Windows::Forms::Padding(3);
			this->tabPage2->Size = System::Drawing::Size(225, 424);
			this->tabPage2->TabIndex = 0;
			this->tabPage2->UseVisualStyleBackColor = true;
			// 
			// textBox5
			// 
			this->textBox5->Location = System::Drawing::Point(115, 103);
			this->textBox5->Name = L"textBox5";
			this->textBox5->Size = System::Drawing::Size(100, 20);
			this->textBox5->TabIndex = 2;
			// 
			// label8
			// 
			this->label8->AutoSize = true;
			this->label8->Location = System::Drawing::Point(15, 103);
			this->label8->Name = L"label8";
			this->label8->Size = System::Drawing::Size(95, 13);
			this->label8->TabIndex = 1;
			this->label8->Text = L"doctor_user_name";
			// 
			// button2
			// 
			this->button2->Location = System::Drawing::Point(69, 225);
			this->button2->Name = L"button2";
			this->button2->Size = System::Drawing::Size(59, 23);
			this->button2->TabIndex = 22;
			this->button2->Text = L"Delete";
			this->button2->UseVisualStyleBackColor = true;
			this->button2->Click += gcnew System::EventHandler(this, &adminForm1::button2_Click);
			// 
			// label7
			// 
			this->label7->AutoSize = true;
			this->label7->Font = (gcnew System::Drawing::Font(L"Gabriola", 21.75F, static_cast<System::Drawing::FontStyle>((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)), 
				System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
			this->label7->Location = System::Drawing::Point(15, 22);
			this->label7->Name = L"label7";
			this->label7->Size = System::Drawing::Size(175, 54);
			this->label7->TabIndex = 0;
			this->label7->Text = L"Delete a Doctor";
			// 
			// tabControl3
			// 
			this->tabControl3->Controls->Add(this->tabPage4);
			this->tabControl3->Location = System::Drawing::Point(21, 27);
			this->tabControl3->Name = L"tabControl3";
			this->tabControl3->SelectedIndex = 0;
			this->tabControl3->Size = System::Drawing::Size(233, 450);
			this->tabControl3->TabIndex = 6;
			this->tabControl3->Visible = false;
			// 
			// tabPage4
			// 
			this->tabPage4->Controls->Add(this->comboBox2);
			this->tabPage4->Controls->Add(this->textBox9);
			this->tabPage4->Controls->Add(this->label14);
			this->tabPage4->Controls->Add(this->label13);
			this->tabPage4->Controls->Add(this->label12);
			this->tabPage4->Controls->Add(this->button3);
			this->tabPage4->Controls->Add(this->label9);
			this->tabPage4->Controls->Add(this->label10);
			this->tabPage4->Controls->Add(this->label11);
			this->tabPage4->Controls->Add(this->textBox6);
			this->tabPage4->Controls->Add(this->textBox7);
			this->tabPage4->Controls->Add(this->textBox8);
			this->tabPage4->Location = System::Drawing::Point(4, 22);
			this->tabPage4->Name = L"tabPage4";
			this->tabPage4->Padding = System::Windows::Forms::Padding(3);
			this->tabPage4->Size = System::Drawing::Size(225, 424);
			this->tabPage4->TabIndex = 0;
			this->tabPage4->UseVisualStyleBackColor = true;
			// 
			// comboBox2
			// 
			this->comboBox2->BackColor = System::Drawing::SystemColors::InactiveCaption;
			this->comboBox2->FormattingEnabled = true;
			this->comboBox2->Items->AddRange(gcnew cli::array< System::Object^  >(46) {L"Audiologists", L"Allergist", L"Andrologists", 
				L"Anesthesiologists", L"Cardiologist", L"Dentist", L"Dermatologists", L"Endocrinologists", L"Epidemiologists", L"Family Practician", 
				L"Gastroenterologists", L"Gynecologists", L"Hematologists", L"Hepatologists", L"Immunologists", L"Infectious Disease Specialists", 
				L"Internal Medicine Specialists", L"Internists", L"Medical Geneticist", L"Microbiologists", L"Neonatologist", L"Nephrologist", 
				L"Neurologist", L"Neurosurgeons", L"Obstetrician", L"Oncologist", L"Ophthalmologist", L"Orthopedic Surgeons", L"ENT specialists", 
				L"Perinatologist", L"Paleopathologist", L"Parasitologist", L"Pathologists", L"Pediatricians", L"Physiologists", L"Physiatrist", 
				L"Plastic Surgeon", L"Podiatrists", L"Psychiatrists", L"Pulmonologist", L"Radiologists", L"Rheumatologsists", L"Surgeons", L"Urologists", 
				L"Emergency Doctors", L"Veterinarian"});
			this->comboBox2->Location = System::Drawing::Point(101, 320);
			this->comboBox2->Name = L"comboBox2";
			this->comboBox2->Size = System::Drawing::Size(121, 21);
			this->comboBox2->TabIndex = 28;
			// 
			// textBox9
			// 
			this->textBox9->Location = System::Drawing::Point(115, 273);
			this->textBox9->Name = L"textBox9";
			this->textBox9->Size = System::Drawing::Size(100, 20);
			this->textBox9->TabIndex = 27;
			// 
			// label14
			// 
			this->label14->AutoSize = true;
			this->label14->Location = System::Drawing::Point(3, 323);
			this->label14->Name = L"label14";
			this->label14->Size = System::Drawing::Size(98, 13);
			this->label14->TabIndex = 26;
			this->label14->Text = L" New specialization";
			// 
			// label13
			// 
			this->label13->AutoSize = true;
			this->label13->Location = System::Drawing::Point(29, 273);
			this->label13->Name = L"label13";
			this->label13->Size = System::Drawing::Size(72, 13);
			this->label13->TabIndex = 25;
			this->label13->Text = L" New address";
			// 
			// label12
			// 
			this->label12->AutoSize = true;
			this->label12->Location = System::Drawing::Point(-2, 228);
			this->label12->Name = L"label12";
			this->label12->Size = System::Drawing::Size(112, 13);
			this->label12->TabIndex = 24;
			this->label12->Text = L" New contact_number";
			// 
			// button3
			// 
			this->button3->Location = System::Drawing::Point(56, 382);
			this->button3->Name = L"button3";
			this->button3->Size = System::Drawing::Size(75, 23);
			this->button3->TabIndex = 23;
			this->button3->Text = L"Update";
			this->button3->UseVisualStyleBackColor = true;
			this->button3->Click += gcnew System::EventHandler(this, &adminForm1::button3_Click);
			// 
			// label9
			// 
			this->label9->AutoSize = true;
			this->label9->Font = (gcnew System::Drawing::Font(L"Gabriola", 20.25F, static_cast<System::Drawing::FontStyle>((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)), 
				System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
			this->label9->Location = System::Drawing::Point(-3, -13);
			this->label9->Name = L"label9";
			this->label9->Size = System::Drawing::Size(200, 150);
			this->label9->TabIndex = 16;
			this->label9->Text = L"Update the Doctor\r\nDetails using their \r\nuser name";
			// 
			// label10
			// 
			this->label10->AutoSize = true;
			this->label10->Location = System::Drawing::Point(3, 137);
			this->label10->Name = L"label10";
			this->label10->Size = System::Drawing::Size(95, 13);
			this->label10->TabIndex = 17;
			this->label10->Text = L"doctor_user_name";
			this->label10->Click += gcnew System::EventHandler(this, &adminForm1::label10_Click);
			// 
			// label11
			// 
			this->label11->AutoSize = true;
			this->label11->Location = System::Drawing::Point(6, 185);
			this->label11->Name = L"label11";
			this->label11->Size = System::Drawing::Size(97, 13);
			this->label11->TabIndex = 18;
			this->label11->Text = L" New doctor_name";
			// 
			// textBox6
			// 
			this->textBox6->Location = System::Drawing::Point(115, 137);
			this->textBox6->Name = L"textBox6";
			this->textBox6->Size = System::Drawing::Size(100, 20);
			this->textBox6->TabIndex = 19;
			// 
			// textBox7
			// 
			this->textBox7->Location = System::Drawing::Point(115, 182);
			this->textBox7->Name = L"textBox7";
			this->textBox7->Size = System::Drawing::Size(100, 20);
			this->textBox7->TabIndex = 20;
			// 
			// textBox8
			// 
			this->textBox8->Location = System::Drawing::Point(115, 225);
			this->textBox8->Name = L"textBox8";
			this->textBox8->Size = System::Drawing::Size(100, 20);
			this->textBox8->TabIndex = 21;
			// 
			// button4
			// 
			this->button4->Location = System::Drawing::Point(69, 355);
			this->button4->Name = L"button4";
			this->button4->Size = System::Drawing::Size(98, 36);
			this->button4->TabIndex = 24;
			this->button4->Text = L"Add";
			this->button4->UseVisualStyleBackColor = true;
			this->button4->Click += gcnew System::EventHandler(this, &adminForm1::button4_Click);
			// 
			// button5
			// 
			this->button5->Location = System::Drawing::Point(57, 328);
			this->button5->Name = L"button5";
			this->button5->Size = System::Drawing::Size(95, 33);
			this->button5->TabIndex = 25;
			this->button5->Text = L"Remove";
			this->button5->UseVisualStyleBackColor = true;
			this->button5->Click += gcnew System::EventHandler(this, &adminForm1::button5_Click);
			// 
			// button6
			// 
			this->button6->Location = System::Drawing::Point(54, 328);
			this->button6->Name = L"button6";
			this->button6->Size = System::Drawing::Size(113, 33);
			this->button6->TabIndex = 26;
			this->button6->Text = L"update";
			this->button6->UseVisualStyleBackColor = true;
			this->button6->Click += gcnew System::EventHandler(this, &adminForm1::button6_Click);
			// 
			// button7
			// 
			this->button7->Location = System::Drawing::Point(57, 344);
			this->button7->Name = L"button7";
			this->button7->Size = System::Drawing::Size(100, 21);
			this->button7->TabIndex = 27;
			this->button7->Text = L"Add";
			this->button7->UseVisualStyleBackColor = true;
			this->button7->Click += gcnew System::EventHandler(this, &adminForm1::button7_Click);
			// 
			// button8
			// 
			this->button8->Location = System::Drawing::Point(57, 326);
			this->button8->Name = L"button8";
			this->button8->Size = System::Drawing::Size(110, 35);
			this->button8->TabIndex = 28;
			this->button8->Text = L"Remove";
			this->button8->UseVisualStyleBackColor = true;
			this->button8->Click += gcnew System::EventHandler(this, &adminForm1::button8_Click);
			// 
			// button9
			// 
			this->button9->Location = System::Drawing::Point(67, 370);
			this->button9->Name = L"button9";
			this->button9->Size = System::Drawing::Size(100, 21);
			this->button9->TabIndex = 29;
			this->button9->Text = L"update";
			this->button9->UseVisualStyleBackColor = true;
			this->button9->Click += gcnew System::EventHandler(this, &adminForm1::button9_Click);
			// 
			// button10
			// 
			this->button10->Location = System::Drawing::Point(51, 396);
			this->button10->Name = L"button10";
			this->button10->Size = System::Drawing::Size(100, 21);
			this->button10->TabIndex = 30;
			this->button10->Text = L"Add";
			this->button10->UseVisualStyleBackColor = true;
			this->button10->Click += gcnew System::EventHandler(this, &adminForm1::button10_Click);
			// 
			// button11
			// 
			this->button11->Location = System::Drawing::Point(57, 326);
			this->button11->Name = L"button11";
			this->button11->Size = System::Drawing::Size(100, 21);
			this->button11->TabIndex = 31;
			this->button11->Text = L"Remove";
			this->button11->UseVisualStyleBackColor = true;
			this->button11->Click += gcnew System::EventHandler(this, &adminForm1::button11_Click);
			// 
			// button12
			// 
			this->button12->Location = System::Drawing::Point(42, 396);
			this->button12->Name = L"button12";
			this->button12->Size = System::Drawing::Size(100, 21);
			this->button12->TabIndex = 32;
			this->button12->Text = L"button12";
			this->button12->UseVisualStyleBackColor = true;
			this->button12->Click += gcnew System::EventHandler(this, &adminForm1::button12_Click);
			// 
			// tabControl6
			// 
			this->tabControl6->Controls->Add(this->tabPage8);
			this->tabControl6->Location = System::Drawing::Point(21, 27);
			this->tabControl6->Name = L"tabControl6";
			this->tabControl6->SelectedIndex = 0;
			this->tabControl6->Size = System::Drawing::Size(237, 450);
			this->tabControl6->TabIndex = 35;
			this->tabControl6->Visible = false;
			// 
			// tabPage8
			// 
			this->tabPage8->Controls->Add(this->comboBox3);
			this->tabPage8->Controls->Add(this->label25);
			this->tabPage8->Controls->Add(this->label24);
			this->tabPage8->Controls->Add(this->label23);
			this->tabPage8->Controls->Add(this->label22);
			this->tabPage8->Controls->Add(this->label21);
			this->tabPage8->Controls->Add(this->textBox16);
			this->tabPage8->Controls->Add(this->textBox15);
			this->tabPage8->Controls->Add(this->textBox14);
			this->tabPage8->Controls->Add(this->button6);
			this->tabPage8->Location = System::Drawing::Point(4, 22);
			this->tabPage8->Name = L"tabPage8";
			this->tabPage8->Padding = System::Windows::Forms::Padding(3);
			this->tabPage8->Size = System::Drawing::Size(229, 424);
			this->tabPage8->TabIndex = 0;
			this->tabPage8->UseVisualStyleBackColor = true;
			// 
			// comboBox3
			// 
			this->comboBox3->BackColor = System::Drawing::SystemColors::InactiveCaption;
			this->comboBox3->FormattingEnabled = true;
			this->comboBox3->Items->AddRange(gcnew cli::array< System::Object^  >(5) {L"doctor", L"receptionist", L"patient", L"administrator", 
				L"cashier"});
			this->comboBox3->Location = System::Drawing::Point(102, 271);
			this->comboBox3->Name = L"comboBox3";
			this->comboBox3->Size = System::Drawing::Size(121, 21);
			this->comboBox3->TabIndex = 36;
			// 
			// label25
			// 
			this->label25->AutoSize = true;
			this->label25->Font = (gcnew System::Drawing::Font(L"Gabriola", 21.75F, static_cast<System::Drawing::FontStyle>((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)), 
				System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
			this->label25->Location = System::Drawing::Point(3, 3);
			this->label25->Name = L"label25";
			this->label25->Size = System::Drawing::Size(228, 108);
			this->label25->TabIndex = 35;
			this->label25->Text = L"Update Receptionist \r\nUsing their id";
			// 
			// label24
			// 
			this->label24->AutoSize = true;
			this->label24->Location = System::Drawing::Point(51, 276);
			this->label24->Name = L"label24";
			this->label24->Size = System::Drawing::Size(47, 13);
			this->label24->TabIndex = 34;
			this->label24->Text = L"usertype";
			// 
			// label23
			// 
			this->label23->AutoSize = true;
			this->label23->Location = System::Drawing::Point(46, 230);
			this->label23->Name = L"label23";
			this->label23->Size = System::Drawing::Size(52, 13);
			this->label23->TabIndex = 33;
			this->label23->Text = L"password";
			// 
			// label22
			// 
			this->label22->AutoSize = true;
			this->label22->Location = System::Drawing::Point(48, 182);
			this->label22->Name = L"label22";
			this->label22->Size = System::Drawing::Size(53, 13);
			this->label22->TabIndex = 32;
			this->label22->Text = L"username";
			// 
			// label21
			// 
			this->label21->AutoSize = true;
			this->label21->Location = System::Drawing::Point(83, 137);
			this->label21->Name = L"label21";
			this->label21->Size = System::Drawing::Size(15, 13);
			this->label21->TabIndex = 31;
			this->label21->Text = L"id";
			// 
			// textBox16
			// 
			this->textBox16->Location = System::Drawing::Point(123, 228);
			this->textBox16->Name = L"textBox16";
			this->textBox16->Size = System::Drawing::Size(100, 20);
			this->textBox16->TabIndex = 29;
			// 
			// textBox15
			// 
			this->textBox15->Location = System::Drawing::Point(123, 182);
			this->textBox15->Name = L"textBox15";
			this->textBox15->Size = System::Drawing::Size(100, 20);
			this->textBox15->TabIndex = 28;
			// 
			// textBox14
			// 
			this->textBox14->Location = System::Drawing::Point(123, 137);
			this->textBox14->Name = L"textBox14";
			this->textBox14->Size = System::Drawing::Size(100, 20);
			this->textBox14->TabIndex = 27;
			// 
			// tabControl7
			// 
			this->tabControl7->Controls->Add(this->tabPage11);
			this->tabControl7->Location = System::Drawing::Point(21, 27);
			this->tabControl7->Name = L"tabControl7";
			this->tabControl7->SelectedIndex = 0;
			this->tabControl7->Size = System::Drawing::Size(233, 450);
			this->tabControl7->TabIndex = 36;
			this->tabControl7->Visible = false;
			// 
			// tabPage11
			// 
			this->tabPage11->Controls->Add(this->label29);
			this->tabPage11->Controls->Add(this->textBox19);
			this->tabPage11->Controls->Add(this->textBox18);
			this->tabPage11->Controls->Add(this->textBox17);
			this->tabPage11->Controls->Add(this->label28);
			this->tabPage11->Controls->Add(this->label27);
			this->tabPage11->Controls->Add(this->label26);
			this->tabPage11->Controls->Add(this->button7);
			this->tabPage11->Location = System::Drawing::Point(4, 22);
			this->tabPage11->Name = L"tabPage11";
			this->tabPage11->Padding = System::Windows::Forms::Padding(3);
			this->tabPage11->Size = System::Drawing::Size(225, 424);
			this->tabPage11->TabIndex = 1;
			this->tabPage11->UseVisualStyleBackColor = true;
			// 
			// label29
			// 
			this->label29->AutoSize = true;
			this->label29->Font = (gcnew System::Drawing::Font(L"Gabriola", 21.75F, static_cast<System::Drawing::FontStyle>((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)), 
				System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
			this->label29->Location = System::Drawing::Point(15, 22);
			this->label29->Name = L"label29";
			this->label29->Size = System::Drawing::Size(162, 54);
			this->label29->TabIndex = 34;
			this->label29->Text = L"Add a Cashier";
			// 
			// textBox19
			// 
			this->textBox19->Location = System::Drawing::Point(119, 226);
			this->textBox19->Name = L"textBox19";
			this->textBox19->Size = System::Drawing::Size(100, 20);
			this->textBox19->TabIndex = 33;
			// 
			// textBox18
			// 
			this->textBox18->Location = System::Drawing::Point(119, 182);
			this->textBox18->Name = L"textBox18";
			this->textBox18->Size = System::Drawing::Size(100, 20);
			this->textBox18->TabIndex = 32;
			// 
			// textBox17
			// 
			this->textBox17->Location = System::Drawing::Point(119, 134);
			this->textBox17->Name = L"textBox17";
			this->textBox17->Size = System::Drawing::Size(100, 20);
			this->textBox17->TabIndex = 31;
			// 
			// label28
			// 
			this->label28->AutoSize = true;
			this->label28->Location = System::Drawing::Point(39, 229);
			this->label28->Name = L"label28";
			this->label28->Size = System::Drawing::Size(52, 13);
			this->label28->TabIndex = 30;
			this->label28->Text = L"password";
			// 
			// label27
			// 
			this->label27->AutoSize = true;
			this->label27->Location = System::Drawing::Point(40, 182);
			this->label27->Name = L"label27";
			this->label27->Size = System::Drawing::Size(53, 13);
			this->label27->TabIndex = 29;
			this->label27->Text = L"username";
			// 
			// label26
			// 
			this->label26->AutoSize = true;
			this->label26->Location = System::Drawing::Point(65, 134);
			this->label26->Name = L"label26";
			this->label26->Size = System::Drawing::Size(15, 13);
			this->label26->TabIndex = 28;
			this->label26->Text = L"id";
			// 
			// tabControl8
			// 
			this->tabControl8->Controls->Add(this->tabPage12);
			this->tabControl8->Location = System::Drawing::Point(21, 27);
			this->tabControl8->Name = L"tabControl8";
			this->tabControl8->SelectedIndex = 0;
			this->tabControl8->Size = System::Drawing::Size(233, 450);
			this->tabControl8->TabIndex = 37;
			this->tabControl8->Visible = false;
			// 
			// tabPage12
			// 
			this->tabPage12->Controls->Add(this->label35);
			this->tabPage12->Controls->Add(this->label30);
			this->tabPage12->Controls->Add(this->textBox20);
			this->tabPage12->Controls->Add(this->button8);
			this->tabPage12->Location = System::Drawing::Point(4, 22);
			this->tabPage12->Name = L"tabPage12";
			this->tabPage12->Padding = System::Windows::Forms::Padding(3);
			this->tabPage12->Size = System::Drawing::Size(225, 424);
			this->tabPage12->TabIndex = 0;
			this->tabPage12->UseVisualStyleBackColor = true;
			// 
			// label35
			// 
			this->label35->AutoSize = true;
			this->label35->Font = (gcnew System::Drawing::Font(L"Gabriola", 21.75F, static_cast<System::Drawing::FontStyle>((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)), 
				System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
			this->label35->Location = System::Drawing::Point(21, 27);
			this->label35->Name = L"label35";
			this->label35->Size = System::Drawing::Size(191, 54);
			this->label35->TabIndex = 2;
			this->label35->Text = L"Remove a cashier";
			// 
			// label30
			// 
			this->label30->AutoSize = true;
			this->label30->Location = System::Drawing::Point(40, 137);
			this->label30->Name = L"label30";
			this->label30->Size = System::Drawing::Size(53, 13);
			this->label30->TabIndex = 1;
			this->label30->Text = L"username";
			// 
			// textBox20
			// 
			this->textBox20->Location = System::Drawing::Point(108, 137);
			this->textBox20->Name = L"textBox20";
			this->textBox20->Size = System::Drawing::Size(100, 20);
			this->textBox20->TabIndex = 0;
			// 
			// tabControl9
			// 
			this->tabControl9->Controls->Add(this->tabPage14);
			this->tabControl9->Location = System::Drawing::Point(21, 27);
			this->tabControl9->Name = L"tabControl9";
			this->tabControl9->SelectedIndex = 0;
			this->tabControl9->Size = System::Drawing::Size(233, 450);
			this->tabControl9->TabIndex = 38;
			this->tabControl9->Visible = false;
			// 
			// tabPage14
			// 
			this->tabPage14->Controls->Add(this->label36);
			this->tabPage14->Controls->Add(this->textBox23);
			this->tabPage14->Controls->Add(this->label31);
			this->tabPage14->Controls->Add(this->label32);
			this->tabPage14->Controls->Add(this->label33);
			this->tabPage14->Controls->Add(this->label34);
			this->tabPage14->Controls->Add(this->comboBox4);
			this->tabPage14->Controls->Add(this->textBox22);
			this->tabPage14->Controls->Add(this->textBox21);
			this->tabPage14->Controls->Add(this->button9);
			this->tabPage14->Location = System::Drawing::Point(4, 22);
			this->tabPage14->Name = L"tabPage14";
			this->tabPage14->Padding = System::Windows::Forms::Padding(3);
			this->tabPage14->Size = System::Drawing::Size(225, 424);
			this->tabPage14->TabIndex = 0;
			this->tabPage14->UseVisualStyleBackColor = true;
			this->tabPage14->Click += gcnew System::EventHandler(this, &adminForm1::tabPage14_Click);
			// 
			// label36
			// 
			this->label36->AutoSize = true;
			this->label36->Font = (gcnew System::Drawing::Font(L"Gabriola", 21.75F, static_cast<System::Drawing::FontStyle>((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)), 
				System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
			this->label36->Location = System::Drawing::Point(15, 22);
			this->label36->Name = L"label36";
			this->label36->Size = System::Drawing::Size(188, 108);
			this->label36->TabIndex = 53;
			this->label36->Text = L"Update a cashier\r\nusing their id";
			// 
			// textBox23
			// 
			this->textBox23->Location = System::Drawing::Point(119, 271);
			this->textBox23->Name = L"textBox23";
			this->textBox23->Size = System::Drawing::Size(100, 20);
			this->textBox23->TabIndex = 51;
			// 
			// label31
			// 
			this->label31->AutoSize = true;
			this->label31->Location = System::Drawing::Point(67, 185);
			this->label31->Name = L"label31";
			this->label31->Size = System::Drawing::Size(15, 13);
			this->label31->TabIndex = 45;
			this->label31->Text = L"id";
			// 
			// label32
			// 
			this->label32->AutoSize = true;
			this->label32->Location = System::Drawing::Point(16, 229);
			this->label32->Name = L"label32";
			this->label32->Size = System::Drawing::Size(76, 13);
			this->label32->TabIndex = 46;
			this->label32->Text = L"new username";
			// 
			// label33
			// 
			this->label33->AutoSize = true;
			this->label33->Location = System::Drawing::Point(16, 274);
			this->label33->Name = L"label33";
			this->label33->Size = System::Drawing::Size(75, 13);
			this->label33->TabIndex = 47;
			this->label33->Text = L"new password";
			// 
			// label34
			// 
			this->label34->AutoSize = true;
			this->label34->Location = System::Drawing::Point(15, 320);
			this->label34->Name = L"label34";
			this->label34->Size = System::Drawing::Size(70, 13);
			this->label34->TabIndex = 48;
			this->label34->Text = L"new usertype";
			// 
			// comboBox4
			// 
			this->comboBox4->FormattingEnabled = true;
			this->comboBox4->Items->AddRange(gcnew cli::array< System::Object^  >(5) {L"doctor", L"patient", L"receptionist", L"cashier", 
				L"administrator"});
			this->comboBox4->Location = System::Drawing::Point(98, 317);
			this->comboBox4->Name = L"comboBox4";
			this->comboBox4->Size = System::Drawing::Size(121, 21);
			this->comboBox4->TabIndex = 52;
			// 
			// textBox22
			// 
			this->textBox22->Location = System::Drawing::Point(119, 229);
			this->textBox22->Name = L"textBox22";
			this->textBox22->Size = System::Drawing::Size(100, 20);
			this->textBox22->TabIndex = 50;
			// 
			// textBox21
			// 
			this->textBox21->Location = System::Drawing::Point(119, 186);
			this->textBox21->Name = L"textBox21";
			this->textBox21->Size = System::Drawing::Size(100, 20);
			this->textBox21->TabIndex = 49;
			// 
			// tabControl10
			// 
			this->tabControl10->Controls->Add(this->tabPage16);
			this->tabControl10->Location = System::Drawing::Point(21, 27);
			this->tabControl10->Name = L"tabControl10";
			this->tabControl10->SelectedIndex = 0;
			this->tabControl10->Size = System::Drawing::Size(233, 450);
			this->tabControl10->TabIndex = 39;
			this->tabControl10->Visible = false;
			// 
			// tabPage16
			// 
			this->tabPage16->Controls->Add(this->textBox35);
			this->tabPage16->Controls->Add(this->textBox34);
			this->tabPage16->Controls->Add(this->textBox33);
			this->tabPage16->Controls->Add(this->textBox32);
			this->tabPage16->Controls->Add(this->textBox31);
			this->tabPage16->Controls->Add(this->textBox30);
			this->tabPage16->Controls->Add(this->textBox29);
			this->tabPage16->Controls->Add(this->textBox28);
			this->tabPage16->Controls->Add(this->textBox27);
			this->tabPage16->Controls->Add(this->textBox26);
			this->tabPage16->Controls->Add(this->textBox25);
			this->tabPage16->Controls->Add(this->textBox24);
			this->tabPage16->Controls->Add(this->label49);
			this->tabPage16->Controls->Add(this->button10);
			this->tabPage16->Controls->Add(this->label48);
			this->tabPage16->Controls->Add(this->label47);
			this->tabPage16->Controls->Add(this->label46);
			this->tabPage16->Controls->Add(this->label45);
			this->tabPage16->Controls->Add(this->label44);
			this->tabPage16->Controls->Add(this->label43);
			this->tabPage16->Controls->Add(this->label42);
			this->tabPage16->Controls->Add(this->label41);
			this->tabPage16->Controls->Add(this->label40);
			this->tabPage16->Controls->Add(this->label39);
			this->tabPage16->Controls->Add(this->label38);
			this->tabPage16->Controls->Add(this->label37);
			this->tabPage16->Location = System::Drawing::Point(4, 22);
			this->tabPage16->Name = L"tabPage16";
			this->tabPage16->Padding = System::Windows::Forms::Padding(3);
			this->tabPage16->Size = System::Drawing::Size(225, 424);
			this->tabPage16->TabIndex = 0;
			this->tabPage16->UseVisualStyleBackColor = true;
			// 
			// textBox35
			// 
			this->textBox35->Location = System::Drawing::Point(119, 361);
			this->textBox35->Name = L"textBox35";
			this->textBox35->Size = System::Drawing::Size(100, 20);
			this->textBox35->TabIndex = 24;
			// 
			// textBox34
			// 
			this->textBox34->Location = System::Drawing::Point(119, 329);
			this->textBox34->Name = L"textBox34";
			this->textBox34->Size = System::Drawing::Size(100, 20);
			this->textBox34->TabIndex = 23;
			// 
			// textBox33
			// 
			this->textBox33->Location = System::Drawing::Point(119, 298);
			this->textBox33->Name = L"textBox33";
			this->textBox33->Size = System::Drawing::Size(100, 20);
			this->textBox33->TabIndex = 22;
			// 
			// textBox32
			// 
			this->textBox32->Location = System::Drawing::Point(119, 272);
			this->textBox32->Name = L"textBox32";
			this->textBox32->Size = System::Drawing::Size(100, 20);
			this->textBox32->TabIndex = 21;
			// 
			// textBox31
			// 
			this->textBox31->Location = System::Drawing::Point(119, 243);
			this->textBox31->Name = L"textBox31";
			this->textBox31->Size = System::Drawing::Size(100, 20);
			this->textBox31->TabIndex = 20;
			// 
			// textBox30
			// 
			this->textBox30->Location = System::Drawing::Point(119, 217);
			this->textBox30->Name = L"textBox30";
			this->textBox30->Size = System::Drawing::Size(100, 20);
			this->textBox30->TabIndex = 19;
			// 
			// textBox29
			// 
			this->textBox29->Location = System::Drawing::Point(119, 189);
			this->textBox29->Name = L"textBox29";
			this->textBox29->Size = System::Drawing::Size(100, 20);
			this->textBox29->TabIndex = 18;
			// 
			// textBox28
			// 
			this->textBox28->Location = System::Drawing::Point(119, 160);
			this->textBox28->Name = L"textBox28";
			this->textBox28->Size = System::Drawing::Size(100, 20);
			this->textBox28->TabIndex = 17;
			// 
			// textBox27
			// 
			this->textBox27->Location = System::Drawing::Point(119, 130);
			this->textBox27->Name = L"textBox27";
			this->textBox27->Size = System::Drawing::Size(100, 20);
			this->textBox27->TabIndex = 16;
			// 
			// textBox26
			// 
			this->textBox26->Location = System::Drawing::Point(119, 100);
			this->textBox26->Name = L"textBox26";
			this->textBox26->Size = System::Drawing::Size(100, 20);
			this->textBox26->TabIndex = 15;
			// 
			// textBox25
			// 
			this->textBox25->Location = System::Drawing::Point(119, 66);
			this->textBox25->Name = L"textBox25";
			this->textBox25->Size = System::Drawing::Size(100, 20);
			this->textBox25->TabIndex = 14;
			// 
			// textBox24
			// 
			this->textBox24->Location = System::Drawing::Point(119, 34);
			this->textBox24->Name = L"textBox24";
			this->textBox24->Size = System::Drawing::Size(100, 20);
			this->textBox24->TabIndex = 13;
			// 
			// label49
			// 
			this->label49->AutoSize = true;
			this->label49->Location = System::Drawing::Point(15, 367);
			this->label49->Name = L"label49";
			this->label49->Size = System::Drawing::Size(83, 13);
			this->label49->TabIndex = 12;
			this->label49->Text = L"grant permission";
			// 
			// label48
			// 
			this->label48->AutoSize = true;
			this->label48->Location = System::Drawing::Point(13, 328);
			this->label48->Name = L"label48";
			this->label48->Size = System::Drawing::Size(89, 26);
			this->label48->TabIndex = 11;
			this->label48->Text = L"appointment_\r\ndoctor_username";
			// 
			// label47
			// 
			this->label47->AutoSize = true;
			this->label47->Location = System::Drawing::Point(17, 305);
			this->label47->Name = L"label47";
			this->label47->Size = System::Drawing::Size(89, 13);
			this->label47->TabIndex = 10;
			this->label47->Text = L"doctor_username";
			// 
			// label46
			// 
			this->label46->AutoSize = true;
			this->label46->Location = System::Drawing::Point(40, 279);
			this->label46->Name = L"label46";
			this->label46->Size = System::Drawing::Size(45, 13);
			this->label46->TabIndex = 9;
			this->label46->Text = L"checkin";
			// 
			// label45
			// 
			this->label45->AutoSize = true;
			this->label45->Location = System::Drawing::Point(29, 250);
			this->label45->Name = L"label45";
			this->label45->Size = System::Drawing::Size(66, 13);
			this->label45->TabIndex = 8;
			this->label45->Text = L"admit_status";
			// 
			// label44
			// 
			this->label44->AutoSize = true;
			this->label44->Location = System::Drawing::Point(35, 224);
			this->label44->Name = L"label44";
			this->label44->Size = System::Drawing::Size(58, 13);
			this->label44->TabIndex = 7;
			this->label44->Text = L"pat_mobile";
			// 
			// label43
			// 
			this->label43->AutoSize = true;
			this->label43->Location = System::Drawing::Point(21, 195);
			this->label43->Name = L"label43";
			this->label43->Size = System::Drawing::Size(81, 13);
			this->label43->TabIndex = 6;
			this->label43->Text = L"pat_bloodgroup";
			// 
			// label42
			// 
			this->label42->AutoSize = true;
			this->label42->Location = System::Drawing::Point(45, 167);
			this->label42->Name = L"label42";
			this->label42->Size = System::Drawing::Size(46, 13);
			this->label42->TabIndex = 5;
			this->label42->Text = L"pat_dob";
			// 
			// label41
			// 
			this->label41->AutoSize = true;
			this->label41->Location = System::Drawing::Point(33, 134);
			this->label41->Name = L"label41";
			this->label41->Size = System::Drawing::Size(65, 13);
			this->label41->TabIndex = 4;
			this->label41->Text = L"pat_address";
			// 
			// label40
			// 
			this->label40->AutoSize = true;
			this->label40->Location = System::Drawing::Point(6, 97);
			this->label40->Name = L"label40";
			this->label40->Size = System::Drawing::Size(111, 26);
			this->label40->TabIndex = 3;
			this->label40->Text = L"pat_age\r\n(enter numeral values)";
			// 
			// label39
			// 
			this->label39->AutoSize = true;
			this->label39->Location = System::Drawing::Point(44, 73);
			this->label39->Name = L"label39";
			this->label39->Size = System::Drawing::Size(54, 13);
			this->label39->TabIndex = 2;
			this->label39->Text = L"pat_name";
			// 
			// label38
			// 
			this->label38->AutoSize = true;
			this->label38->Location = System::Drawing::Point(9, 41);
			this->label38->Name = L"label38";
			this->label38->Size = System::Drawing::Size(97, 13);
			this->label38->TabIndex = 1;
			this->label38->Text = L"patient_user_name";
			// 
			// label37
			// 
			this->label37->AutoSize = true;
			this->label37->Font = (gcnew System::Drawing::Font(L"Gabriola", 15.75F, static_cast<System::Drawing::FontStyle>((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)), 
				System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
			this->label37->Location = System::Drawing::Point(2, 0);
			this->label37->Name = L"label37";
			this->label37->Size = System::Drawing::Size(120, 39);
			this->label37->TabIndex = 0;
			this->label37->Text = L"Add a patient";
			// 
			// tabControl11
			// 
			this->tabControl11->Controls->Add(this->tabPage18);
			this->tabControl11->Location = System::Drawing::Point(21, 27);
			this->tabControl11->Name = L"tabControl11";
			this->tabControl11->SelectedIndex = 0;
			this->tabControl11->Size = System::Drawing::Size(233, 450);
			this->tabControl11->TabIndex = 40;
			this->tabControl11->Visible = false;
			// 
			// tabPage18
			// 
			this->tabPage18->Controls->Add(this->textBox36);
			this->tabPage18->Controls->Add(this->label51);
			this->tabPage18->Controls->Add(this->label50);
			this->tabPage18->Controls->Add(this->button11);
			this->tabPage18->Location = System::Drawing::Point(4, 22);
			this->tabPage18->Name = L"tabPage18";
			this->tabPage18->Padding = System::Windows::Forms::Padding(3);
			this->tabPage18->Size = System::Drawing::Size(225, 424);
			this->tabPage18->TabIndex = 0;
			this->tabPage18->UseVisualStyleBackColor = true;
			// 
			// textBox36
			// 
			this->textBox36->Location = System::Drawing::Point(119, 103);
			this->textBox36->Name = L"textBox36";
			this->textBox36->Size = System::Drawing::Size(100, 20);
			this->textBox36->TabIndex = 2;
			// 
			// label51
			// 
			this->label51->AutoSize = true;
			this->label51->Location = System::Drawing::Point(12, 107);
			this->label51->Name = L"label51";
			this->label51->Size = System::Drawing::Size(97, 13);
			this->label51->TabIndex = 1;
			this->label51->Text = L"patient_user_name";
			// 
			// label50
			// 
			this->label50->AutoSize = true;
			this->label50->Font = (gcnew System::Drawing::Font(L"Gabriola", 21.75F, static_cast<System::Drawing::FontStyle>((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)), 
				System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
			this->label50->Location = System::Drawing::Point(15, 14);
			this->label50->Name = L"label50";
			this->label50->Size = System::Drawing::Size(191, 54);
			this->label50->TabIndex = 0;
			this->label50->Text = L"Remove a patient";
			// 
			// tabControl12
			// 
			this->tabControl12->Controls->Add(this->tabPage20);
			this->tabControl12->Location = System::Drawing::Point(21, 27);
			this->tabControl12->Name = L"tabControl12";
			this->tabControl12->SelectedIndex = 0;
			this->tabControl12->Size = System::Drawing::Size(237, 450);
			this->tabControl12->TabIndex = 41;
			this->tabControl12->Visible = false;
			// 
			// tabPage20
			// 
			this->tabPage20->Controls->Add(this->label64);
			this->tabPage20->Controls->Add(this->label63);
			this->tabPage20->Controls->Add(this->label62);
			this->tabPage20->Controls->Add(this->label61);
			this->tabPage20->Controls->Add(this->label60);
			this->tabPage20->Controls->Add(this->label59);
			this->tabPage20->Controls->Add(this->label58);
			this->tabPage20->Controls->Add(this->label57);
			this->tabPage20->Controls->Add(this->label56);
			this->tabPage20->Controls->Add(this->label55);
			this->tabPage20->Controls->Add(this->label54);
			this->tabPage20->Controls->Add(this->textBox37);
			this->tabPage20->Controls->Add(this->label53);
			this->tabPage20->Controls->Add(this->textBox48);
			this->tabPage20->Controls->Add(this->textBox47);
			this->tabPage20->Controls->Add(this->textBox46);
			this->tabPage20->Controls->Add(this->textBox45);
			this->tabPage20->Controls->Add(this->textBox44);
			this->tabPage20->Controls->Add(this->textBox43);
			this->tabPage20->Controls->Add(this->textBox42);
			this->tabPage20->Controls->Add(this->textBox41);
			this->tabPage20->Controls->Add(this->textBox40);
			this->tabPage20->Controls->Add(this->textBox39);
			this->tabPage20->Controls->Add(this->textBox38);
			this->tabPage20->Controls->Add(this->button12);
			this->tabPage20->Controls->Add(this->label52);
			this->tabPage20->Location = System::Drawing::Point(4, 22);
			this->tabPage20->Name = L"tabPage20";
			this->tabPage20->Padding = System::Windows::Forms::Padding(3);
			this->tabPage20->Size = System::Drawing::Size(229, 424);
			this->tabPage20->TabIndex = 0;
			this->tabPage20->UseVisualStyleBackColor = true;
			// 
			// label64
			// 
			this->label64->AutoSize = true;
			this->label64->Location = System::Drawing::Point(55, 374);
			this->label64->Name = L"label64";
			this->label64->Size = System::Drawing::Size(43, 13);
			this->label64->TabIndex = 57;
			this->label64->Text = L"granted";
			// 
			// label63
			// 
			this->label63->AutoSize = true;
			this->label63->Location = System::Drawing::Point(3, 341);
			this->label63->Name = L"label63";
			this->label63->Size = System::Drawing::Size(107, 26);
			this->label63->TabIndex = 56;
			this->label63->Text = L"appointment_doctor_\r\nname";
			// 
			// label62
			// 
			this->label62->AutoSize = true;
			this->label62->Location = System::Drawing::Point(30, 316);
			this->label62->Name = L"label62";
			this->label62->Size = System::Drawing::Size(69, 13);
			this->label62->TabIndex = 55;
			this->label62->Text = L"doctor_name";
			// 
			// label61
			// 
			this->label61->AutoSize = true;
			this->label61->Location = System::Drawing::Point(51, 286);
			this->label61->Name = L"label61";
			this->label61->Size = System::Drawing::Size(45, 13);
			this->label61->TabIndex = 54;
			this->label61->Text = L"checkin";
			// 
			// label60
			// 
			this->label60->AutoSize = true;
			this->label60->Location = System::Drawing::Point(29, 257);
			this->label60->Name = L"label60";
			this->label60->Size = System::Drawing::Size(66, 13);
			this->label60->TabIndex = 53;
			this->label60->Text = L"admit_status";
			// 
			// label59
			// 
			this->label59->AutoSize = true;
			this->label59->Location = System::Drawing::Point(33, 228);
			this->label59->Name = L"label59";
			this->label59->Size = System::Drawing::Size(58, 13);
			this->label59->TabIndex = 52;
			this->label59->Text = L"pat_mobile";
			// 
			// label58
			// 
			this->label58->AutoSize = true;
			this->label58->Location = System::Drawing::Point(21, 189);
			this->label58->Name = L"label58";
			this->label58->Size = System::Drawing::Size(81, 13);
			this->label58->TabIndex = 51;
			this->label58->Text = L"pat_bloodgroup";
			// 
			// label57
			// 
			this->label57->AutoSize = true;
			this->label57->Location = System::Drawing::Point(45, 159);
			this->label57->Name = L"label57";
			this->label57->Size = System::Drawing::Size(46, 13);
			this->label57->TabIndex = 50;
			this->label57->Text = L"pat_dob";
			// 
			// label56
			// 
			this->label56->AutoSize = true;
			this->label56->Location = System::Drawing::Point(31, 125);
			this->label56->Name = L"label56";
			this->label56->Size = System::Drawing::Size(65, 13);
			this->label56->TabIndex = 49;
			this->label56->Text = L"pat_address";
			// 
			// label55
			// 
			this->label55->AutoSize = true;
			this->label55->Location = System::Drawing::Point(47, 94);
			this->label55->Name = L"label55";
			this->label55->Size = System::Drawing::Size(46, 13);
			this->label55->TabIndex = 48;
			this->label55->Text = L"pat_age";
			// 
			// label54
			// 
			this->label54->AutoSize = true;
			this->label54->Location = System::Drawing::Point(37, 60);
			this->label54->Name = L"label54";
			this->label54->Size = System::Drawing::Size(54, 13);
			this->label54->TabIndex = 47;
			this->label54->Text = L"pat_name";
			// 
			// textBox37
			// 
			this->textBox37->Location = System::Drawing::Point(115, 27);
			this->textBox37->Name = L"textBox37";
			this->textBox37->Size = System::Drawing::Size(100, 20);
			this->textBox37->TabIndex = 33;
			// 
			// label53
			// 
			this->label53->AutoSize = true;
			this->label53->Location = System::Drawing::Point(16, 27);
			this->label53->Name = L"label53";
			this->label53->Size = System::Drawing::Size(80, 13);
			this->label53->TabIndex = 46;
			this->label53->Text = L"pat_user_name";
			// 
			// textBox48
			// 
			this->textBox48->Location = System::Drawing::Point(115, 367);
			this->textBox48->Name = L"textBox48";
			this->textBox48->Size = System::Drawing::Size(100, 20);
			this->textBox48->TabIndex = 44;
			// 
			// textBox47
			// 
			this->textBox47->Location = System::Drawing::Point(115, 341);
			this->textBox47->Name = L"textBox47";
			this->textBox47->Size = System::Drawing::Size(100, 20);
			this->textBox47->TabIndex = 43;
			// 
			// textBox46
			// 
			this->textBox46->Location = System::Drawing::Point(115, 313);
			this->textBox46->Name = L"textBox46";
			this->textBox46->Size = System::Drawing::Size(100, 20);
			this->textBox46->TabIndex = 42;
			// 
			// textBox45
			// 
			this->textBox45->Location = System::Drawing::Point(115, 279);
			this->textBox45->Name = L"textBox45";
			this->textBox45->Size = System::Drawing::Size(100, 20);
			this->textBox45->TabIndex = 41;
			// 
			// textBox44
			// 
			this->textBox44->Location = System::Drawing::Point(115, 250);
			this->textBox44->Name = L"textBox44";
			this->textBox44->Size = System::Drawing::Size(100, 20);
			this->textBox44->TabIndex = 40;
			// 
			// textBox43
			// 
			this->textBox43->Location = System::Drawing::Point(115, 221);
			this->textBox43->Name = L"textBox43";
			this->textBox43->Size = System::Drawing::Size(100, 20);
			this->textBox43->TabIndex = 39;
			// 
			// textBox42
			// 
			this->textBox42->Location = System::Drawing::Point(115, 189);
			this->textBox42->Name = L"textBox42";
			this->textBox42->Size = System::Drawing::Size(100, 20);
			this->textBox42->TabIndex = 38;
			// 
			// textBox41
			// 
			this->textBox41->Location = System::Drawing::Point(115, 156);
			this->textBox41->Name = L"textBox41";
			this->textBox41->Size = System::Drawing::Size(100, 20);
			this->textBox41->TabIndex = 37;
			// 
			// textBox40
			// 
			this->textBox40->Location = System::Drawing::Point(115, 118);
			this->textBox40->Name = L"textBox40";
			this->textBox40->Size = System::Drawing::Size(100, 20);
			this->textBox40->TabIndex = 36;
			// 
			// textBox39
			// 
			this->textBox39->Location = System::Drawing::Point(115, 86);
			this->textBox39->Name = L"textBox39";
			this->textBox39->Size = System::Drawing::Size(100, 20);
			this->textBox39->TabIndex = 35;
			// 
			// textBox38
			// 
			this->textBox38->Location = System::Drawing::Point(115, 60);
			this->textBox38->Name = L"textBox38";
			this->textBox38->Size = System::Drawing::Size(100, 20);
			this->textBox38->TabIndex = 34;
			// 
			// label52
			// 
			this->label52->AutoSize = true;
			this->label52->Font = (gcnew System::Drawing::Font(L"Gabriola", 12.75F, static_cast<System::Drawing::FontStyle>((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)), 
				System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
			this->label52->Location = System::Drawing::Point(-6, -7);
			this->label52->Name = L"label52";
			this->label52->Size = System::Drawing::Size(221, 31);
			this->label52->TabIndex = 45;
			this->label52->Text = L"Update a patient using  username";
			// 
			// tabControl13
			// 
			this->tabControl13->Controls->Add(this->tabPage22);
			this->tabControl13->Location = System::Drawing::Point(21, 27);
			this->tabControl13->Name = L"tabControl13";
			this->tabControl13->SelectedIndex = 0;
			this->tabControl13->Size = System::Drawing::Size(237, 450);
			this->tabControl13->TabIndex = 42;
			this->tabControl13->Visible = false;
			// 
			// tabPage22
			// 
			this->tabPage22->Controls->Add(this->button13);
			this->tabPage22->Controls->Add(this->comboBox5);
			this->tabPage22->Controls->Add(this->label68);
			this->tabPage22->Controls->Add(this->label67);
			this->tabPage22->Controls->Add(this->textBox51);
			this->tabPage22->Controls->Add(this->label66);
			this->tabPage22->Controls->Add(this->textBox50);
			this->tabPage22->Controls->Add(this->textBox49);
			this->tabPage22->Controls->Add(this->label69);
			this->tabPage22->Controls->Add(this->label65);
			this->tabPage22->Location = System::Drawing::Point(4, 22);
			this->tabPage22->Name = L"tabPage22";
			this->tabPage22->Padding = System::Windows::Forms::Padding(3);
			this->tabPage22->Size = System::Drawing::Size(229, 424);
			this->tabPage22->TabIndex = 0;
			this->tabPage22->UseVisualStyleBackColor = true;
			// 
			// button13
			// 
			this->button13->Location = System::Drawing::Point(69, 318);
			this->button13->Name = L"button13";
			this->button13->Size = System::Drawing::Size(75, 23);
			this->button13->TabIndex = 67;
			this->button13->Text = L"Update";
			this->button13->UseVisualStyleBackColor = true;
			this->button13->Click += gcnew System::EventHandler(this, &adminForm1::button13_Click);
			// 
			// comboBox5
			// 
			this->comboBox5->BackColor = System::Drawing::SystemColors::InactiveCaption;
			this->comboBox5->FormattingEnabled = true;
			this->comboBox5->Items->AddRange(gcnew cli::array< System::Object^  >(5) {L"doctor", L"cashier", L"receptionist", L"patient", 
				L"administrator"});
			this->comboBox5->Location = System::Drawing::Point(99, 225);
			this->comboBox5->Name = L"comboBox5";
			this->comboBox5->Size = System::Drawing::Size(121, 21);
			this->comboBox5->TabIndex = 66;
			// 
			// label68
			// 
			this->label68->AutoSize = true;
			this->label68->Location = System::Drawing::Point(46, 185);
			this->label68->Name = L"label68";
			this->label68->Size = System::Drawing::Size(52, 13);
			this->label68->TabIndex = 61;
			this->label68->Text = L"password";
			// 
			// label67
			// 
			this->label67->AutoSize = true;
			this->label67->Location = System::Drawing::Point(45, 141);
			this->label67->Name = L"label67";
			this->label67->Size = System::Drawing::Size(53, 13);
			this->label67->TabIndex = 60;
			this->label67->Text = L"username";
			// 
			// textBox51
			// 
			this->textBox51->Location = System::Drawing::Point(115, 179);
			this->textBox51->Name = L"textBox51";
			this->textBox51->Size = System::Drawing::Size(100, 20);
			this->textBox51->TabIndex = 65;
			// 
			// label66
			// 
			this->label66->AutoSize = true;
			this->label66->Location = System::Drawing::Point(76, 103);
			this->label66->Name = L"label66";
			this->label66->Size = System::Drawing::Size(15, 13);
			this->label66->TabIndex = 59;
			this->label66->Text = L"id";
			// 
			// textBox50
			// 
			this->textBox50->Location = System::Drawing::Point(115, 137);
			this->textBox50->Name = L"textBox50";
			this->textBox50->Size = System::Drawing::Size(100, 20);
			this->textBox50->TabIndex = 64;
			// 
			// textBox49
			// 
			this->textBox49->Location = System::Drawing::Point(115, 97);
			this->textBox49->Name = L"textBox49";
			this->textBox49->Size = System::Drawing::Size(100, 20);
			this->textBox49->TabIndex = 63;
			// 
			// label69
			// 
			this->label69->AutoSize = true;
			this->label69->Location = System::Drawing::Point(44, 228);
			this->label69->Name = L"label69";
			this->label69->Size = System::Drawing::Size(47, 13);
			this->label69->TabIndex = 62;
			this->label69->Text = L"usertype";
			// 
			// label65
			// 
			this->label65->AutoSize = true;
			this->label65->Font = (gcnew System::Drawing::Font(L"Gabriola", 21.75F, static_cast<System::Drawing::FontStyle>((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)), 
				System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
			this->label65->Location = System::Drawing::Point(-10, -3);
			this->label65->Name = L"label65";
			this->label65->Size = System::Drawing::Size(241, 108);
			this->label65->TabIndex = 58;
			this->label65->Text = L"Update Administrator\r\nAttributes using id";
			// 
			// tabControl4
			// 
			this->tabControl4->Controls->Add(this->tabPage3);
			this->tabControl4->Location = System::Drawing::Point(21, 27);
			this->tabControl4->Name = L"tabControl4";
			this->tabControl4->SelectedIndex = 0;
			this->tabControl4->Size = System::Drawing::Size(237, 450);
			this->tabControl4->TabIndex = 43;
			this->tabControl4->Visible = false;
			// 
			// tabPage3
			// 
			this->tabPage3->Controls->Add(this->label18);
			this->tabPage3->Controls->Add(this->label17);
			this->tabPage3->Controls->Add(this->label16);
			this->tabPage3->Controls->Add(this->label15);
			this->tabPage3->Controls->Add(this->textBox12);
			this->tabPage3->Controls->Add(this->textBox11);
			this->tabPage3->Controls->Add(this->textBox10);
			this->tabPage3->Controls->Add(this->button4);
			this->tabPage3->Location = System::Drawing::Point(4, 22);
			this->tabPage3->Name = L"tabPage3";
			this->tabPage3->Padding = System::Windows::Forms::Padding(3);
			this->tabPage3->Size = System::Drawing::Size(229, 424);
			this->tabPage3->TabIndex = 0;
			this->tabPage3->UseVisualStyleBackColor = true;
			// 
			// label18
			// 
			this->label18->AutoSize = true;
			this->label18->Font = (gcnew System::Drawing::Font(L"Gabriola", 21.75F, static_cast<System::Drawing::FontStyle>((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)), 
				System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
			this->label18->Location = System::Drawing::Point(0, 22);
			this->label18->Name = L"label18";
			this->label18->Size = System::Drawing::Size(208, 54);
			this->label18->TabIndex = 31;
			this->label18->Text = L"Add a Receptionist";
			// 
			// label17
			// 
			this->label17->AutoSize = true;
			this->label17->Location = System::Drawing::Point(29, 266);
			this->label17->Name = L"label17";
			this->label17->Size = System::Drawing::Size(52, 13);
			this->label17->TabIndex = 30;
			this->label17->Text = L"password";
			// 
			// label16
			// 
			this->label16->AutoSize = true;
			this->label16->Location = System::Drawing::Point(29, 215);
			this->label16->Name = L"label16";
			this->label16->Size = System::Drawing::Size(53, 13);
			this->label16->TabIndex = 29;
			this->label16->Text = L"username";
			// 
			// label15
			// 
			this->label15->AutoSize = true;
			this->label15->Location = System::Drawing::Point(53, 163);
			this->label15->Name = L"label15";
			this->label15->Size = System::Drawing::Size(15, 13);
			this->label15->TabIndex = 28;
			this->label15->Text = L"id";
			this->label15->Click += gcnew System::EventHandler(this, &adminForm1::label15_Click);
			// 
			// textBox12
			// 
			this->textBox12->Location = System::Drawing::Point(107, 266);
			this->textBox12->Name = L"textBox12";
			this->textBox12->Size = System::Drawing::Size(100, 20);
			this->textBox12->TabIndex = 27;
			// 
			// textBox11
			// 
			this->textBox11->Location = System::Drawing::Point(107, 217);
			this->textBox11->Name = L"textBox11";
			this->textBox11->Size = System::Drawing::Size(100, 20);
			this->textBox11->TabIndex = 26;
			this->textBox11->TextChanged += gcnew System::EventHandler(this, &adminForm1::textBox11_TextChanged);
			// 
			// textBox10
			// 
			this->textBox10->Location = System::Drawing::Point(107, 163);
			this->textBox10->Name = L"textBox10";
			this->textBox10->Size = System::Drawing::Size(100, 20);
			this->textBox10->TabIndex = 25;
			// 
			// tabControl5
			// 
			this->tabControl5->Controls->Add(this->tabPage6);
			this->tabControl5->Location = System::Drawing::Point(21, 27);
			this->tabControl5->Name = L"tabControl5";
			this->tabControl5->SelectedIndex = 0;
			this->tabControl5->Size = System::Drawing::Size(237, 446);
			this->tabControl5->TabIndex = 44;
			this->tabControl5->Visible = false;
			// 
			// tabPage6
			// 
			this->tabPage6->Controls->Add(this->label20);
			this->tabPage6->Controls->Add(this->textBox13);
			this->tabPage6->Controls->Add(this->label19);
			this->tabPage6->Controls->Add(this->button5);
			this->tabPage6->Location = System::Drawing::Point(4, 22);
			this->tabPage6->Name = L"tabPage6";
			this->tabPage6->Padding = System::Windows::Forms::Padding(3);
			this->tabPage6->Size = System::Drawing::Size(229, 420);
			this->tabPage6->TabIndex = 1;
			this->tabPage6->UseVisualStyleBackColor = true;
			this->tabPage6->Click += gcnew System::EventHandler(this, &adminForm1::tabPage6_Click);
			// 
			// label20
			// 
			this->label20->AutoSize = true;
			this->label20->Font = (gcnew System::Drawing::Font(L"Gabriola", 21.75F, static_cast<System::Drawing::FontStyle>((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)), 
				System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
			this->label20->Location = System::Drawing::Point(-9, 0);
			this->label20->Name = L"label20";
			this->label20->Size = System::Drawing::Size(242, 54);
			this->label20->TabIndex = 2;
			this->label20->Text = L"Remove a Receptionist";
			// 
			// textBox13
			// 
			this->textBox13->Location = System::Drawing::Point(101, 92);
			this->textBox13->Name = L"textBox13";
			this->textBox13->Size = System::Drawing::Size(100, 20);
			this->textBox13->TabIndex = 1;
			// 
			// label19
			// 
			this->label19->AutoSize = true;
			this->label19->Location = System::Drawing::Point(27, 95);
			this->label19->Name = L"label19";
			this->label19->Size = System::Drawing::Size(53, 13);
			this->label19->TabIndex = 0;
			this->label19->Text = L"username";
			// 
			// textBox52
			// 
			this->textBox52->Font = (gcnew System::Drawing::Font(L"Gabriola", 20.25F, static_cast<System::Drawing::FontStyle>((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)), 
				System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
			this->textBox52->Location = System::Drawing::Point(264, 46);
			this->textBox52->Multiline = true;
			this->textBox52->Name = L"textBox52";
			this->textBox52->Size = System::Drawing::Size(490, 42);
			this->textBox52->TabIndex = 45;
			// 
			// adminForm1
			// 
			this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
			this->ClientSize = System::Drawing::Size(783, 489);
			this->Controls->Add(this->tabControl3);
			this->Controls->Add(this->textBox52);
			this->Controls->Add(this->tabControl13);
			this->Controls->Add(this->tabControl12);
			this->Controls->Add(this->tabControl11);
			this->Controls->Add(this->tabControl10);
			this->Controls->Add(this->tabControl9);
			this->Controls->Add(this->tabControl8);
			this->Controls->Add(this->tabControl7);
			this->Controls->Add(this->tabControl6);
			this->Controls->Add(this->tabControl5);
			this->Controls->Add(this->tabControl4);
			this->Controls->Add(this->tabControl2);
			this->Controls->Add(this->tabControl1);
			this->Controls->Add(this->dataGridView1);
			this->Controls->Add(this->menuStrip1);
			this->MainMenuStrip = this->menuStrip1;
			this->Name = L"adminForm1";
			this->Text = L"ADMIN";
			this->Load += gcnew System::EventHandler(this, &adminForm1::Form1_Load);
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->dataGridView1))->EndInit();
			this->menuStrip1->ResumeLayout(false);
			this->menuStrip1->PerformLayout();
			this->tabControl1->ResumeLayout(false);
			this->tabPage1->ResumeLayout(false);
			this->tabPage1->PerformLayout();
			this->tabControl2->ResumeLayout(false);
			this->tabPage2->ResumeLayout(false);
			this->tabPage2->PerformLayout();
			this->tabControl3->ResumeLayout(false);
			this->tabPage4->ResumeLayout(false);
			this->tabPage4->PerformLayout();
			this->tabControl6->ResumeLayout(false);
			this->tabPage8->ResumeLayout(false);
			this->tabPage8->PerformLayout();
			this->tabControl7->ResumeLayout(false);
			this->tabPage11->ResumeLayout(false);
			this->tabPage11->PerformLayout();
			this->tabControl8->ResumeLayout(false);
			this->tabPage12->ResumeLayout(false);
			this->tabPage12->PerformLayout();
			this->tabControl9->ResumeLayout(false);
			this->tabPage14->ResumeLayout(false);
			this->tabPage14->PerformLayout();
			this->tabControl10->ResumeLayout(false);
			this->tabPage16->ResumeLayout(false);
			this->tabPage16->PerformLayout();
			this->tabControl11->ResumeLayout(false);
			this->tabPage18->ResumeLayout(false);
			this->tabPage18->PerformLayout();
			this->tabControl12->ResumeLayout(false);
			this->tabPage20->ResumeLayout(false);
			this->tabPage20->PerformLayout();
			this->tabControl13->ResumeLayout(false);
			this->tabPage22->ResumeLayout(false);
			this->tabPage22->PerformLayout();
			this->tabControl4->ResumeLayout(false);
			this->tabPage3->ResumeLayout(false);
			this->tabPage3->PerformLayout();
			this->tabControl5->ResumeLayout(false);
			this->tabPage6->ResumeLayout(false);
			this->tabPage6->PerformLayout();
			this->ResumeLayout(false);
			this->PerformLayout();

		}
#pragma endregion
	private: System::Void Form1_Load(System::Object^  sender, System::EventArgs^  e) {
			 }
private: System::Void button1_Click(System::Object^  sender, System::EventArgs^  e) {
			//*************************************************************************************
			 String^ constring = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase = gcnew MySqlConnection( constring ); 
			MySqlCommand ^cmdDataBase = gcnew MySqlCommand("SELECT * FROM hos_1.bed ; ", conDataBase ); 
			MySqlDataReader ^myReader;

		try{
		    MySqlDataAdapter ^ sda= gcnew MySqlDataAdapter();
			sda->SelectCommand=cmdDataBase;
			DataTable^ datasheet= gcnew DataTable();
			sda->Fill(datasheet);
			BindingSource^ source= gcnew BindingSource();
			source->DataSource=datasheet;
			dataGridView1->DataSource=source;
			sda->Update(datasheet);
			//*************************************
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
		 }
private: System::Void dOCTORSToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
			 this->textBox52->Text="CURRENT DOCTOR TABLE IS:-";
			 //********************************************************************************************************************
			 //***********************CODE TO DISPLAY DOCTOR DATA BASE DIRECTLY FROM SERVER In THE DATA GRID VIEW**********************
			 String^ constring = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase = gcnew MySqlConnection( constring ); 
			MySqlCommand ^cmdDataBase = gcnew MySqlCommand("SELECT * FROM `chikitsalaya` .`doctor` ;", conDataBase ); 
			MySqlDataReader ^myReader;

		try{
		    MySqlDataAdapter ^ sda= gcnew MySqlDataAdapter();
			sda->SelectCommand=cmdDataBase;
			DataTable^ datasheet= gcnew DataTable();
			sda->Fill(datasheet);
			BindingSource^ source= gcnew BindingSource();
			source->DataSource=datasheet;
			dataGridView1->DataSource=source;
			sda->Update(datasheet);
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
		//********************************************************************************************************************************
		 }
private: System::Void uSERSToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
		/*	//********************************************************************************************************************
			 //***********************CODE TO DISPLAY DATA BASE DIRECTLY FROM SERVER In THE DATA GRID VIEW**********************
			 String^ constring = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase = gcnew MySqlConnection( constring ); 
			MySqlCommand ^cmdDataBase = gcnew MySqlCommand("SELECT * FROM hos_1.users ;", conDataBase ); 
			MySqlDataReader ^myReader;

		try{
		    MySqlDataAdapter ^ sda= gcnew MySqlDataAdapter();
			sda->SelectCommand=cmdDataBase;
			DataTable^ datasheet= gcnew DataTable();
			sda->Fill(datasheet);
			BindingSource^ source= gcnew BindingSource();
			source->DataSource=datasheet;
			dataGridView1->DataSource=source;
			sda->Update(datasheet);
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }*/
		//********************************************************************************************************************************
		 }
private: System::Void uSRSToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
                  this->textBox52->Text="CURRENTLY ALL USERS ARE:-";
				    this->tabControl1->Visible=false;
			 this->tabControl2->Visible=false;
				 this->tabControl3->Visible=false;
				 this->tabControl4->Visible=false;
					this->tabControl5->Visible=false;
					this->tabControl6->Visible=false;
					this->tabControl7->Visible=false;
					this->tabControl8->Visible=false;
					this->tabControl9->Visible=false;
					this->tabControl10->Visible=false;
					this->tabControl11->Visible=false;
				 this->tabControl12->Visible=false;
				  this->tabControl13->Visible=false;

			 //********************************************************************************************************************
			 //***********************CODE TO DISPLAY  LOgin Users DATA BASE DIRECTLY FROM SERVER I NA THE DATA GRID VIEW**********************
			 String^ constring = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase = gcnew MySqlConnection( constring ); 
			MySqlCommand ^cmdDataBase = gcnew MySqlCommand("SELECT * FROM `chikitsalaya` .`login_users` ;", conDataBase ); 
			MySqlDataReader ^myReader;

		try{
		    MySqlDataAdapter ^ sda= gcnew MySqlDataAdapter();
			sda->SelectCommand=cmdDataBase;
			DataTable^ datasheet= gcnew DataTable();
			sda->Fill(datasheet);
			BindingSource^ source= gcnew BindingSource();
			source->DataSource=datasheet;
			dataGridView1->DataSource=source;
			sda->Update(datasheet);
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
		//********************************************************************************************************************************
		 }
private: System::Void tabPage1_Click(System::Object^  sender, System::EventArgs^  e) {
		 }
private: System::Void monthCalendar1_DateChanged(System::Object^  sender, System::Windows::Forms::DateRangeEventArgs^  e) {
		 }
private: System::Void label4_Click(System::Object^  sender, System::EventArgs^  e) {
		 }
private: System::Void button1_Click_1(System::Object^  sender, System::EventArgs^  e) {
    //********************************************************************************************************************
			 //***********************CODE that ADDs DOCTOR TO DATA BASE DIRECTLY TO SERVER**********************
			String^ constring = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase = gcnew MySqlConnection( constring ); 
			MySqlCommand ^cmdDataBase = gcnew MySqlCommand("INSERT INTO  `chikitsalaya` .`doctor` (doctor_user_name,doctor_name,contact_number,address,specialization) VALUES('"+this->textBox1->Text+"','"+this->textBox2->Text+"','"+this->textBox3->Text+"','"+this->textBox4->Text+"','"+this->comboBox1->Text+"') ;", conDataBase ); 
			MySqlDataReader ^myReader;

		try{
		   conDataBase->Open();
					 myReader = cmdDataBase->ExecuteReader();
					  MessageBox::Show("Added");
					 while(myReader->Read());
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }

		//***********************NOW AFTER ADDITION OF A DOCTOR UPDATING THE GRIDVIEW**********************************************
		 String^ constring1 = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase1 = gcnew MySqlConnection( constring1 ); 
			MySqlCommand ^cmdDataBase1 = gcnew MySqlCommand("SELECT * FROM `chikitsalaya` .`doctor` ;", conDataBase1 ); 
			MySqlDataReader ^myReader1;

		try{
		    MySqlDataAdapter ^ sda1= gcnew MySqlDataAdapter();
			sda1->SelectCommand=cmdDataBase1;
			DataTable^ datasheet= gcnew DataTable();
			sda1->Fill(datasheet);
			BindingSource^ source= gcnew BindingSource();
			source->DataSource=datasheet;
			dataGridView1->DataSource=source;
			sda1->Update(datasheet);
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
		//********************************************************************************************************************************
		 }
		 //above adds  a doctor into  doctor table
private: System::Void textBox4_TextChanged(System::Object^  sender, System::EventArgs^  e) {
		 }
private: System::Void aDDToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
			 this->tabControl1->Visible=true;
			 this->tabControl2->Visible=false;
				 this->tabControl3->Visible=false;
				 this->tabControl4->Visible=false;
					this->tabControl5->Visible=false;
					this->tabControl6->Visible=false;
					this->tabControl7->Visible=false;
					this->tabControl8->Visible=false;
					this->tabControl9->Visible=false;
					this->tabControl10->Visible=false;
					this->tabControl11->Visible=false;
				 this->tabControl12->Visible=false;
				  this->tabControl13->Visible=false;
		 }
		 //above adds  a doctorfrom doctor table
private: System::Void button2_Click(System::Object^  sender, System::EventArgs^  e) {
			 //************************Code TO delete a Doctor****************************
			 	 String^ constring = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase = gcnew MySqlConnection( constring ); 
			MySqlCommand ^cmdDataBase = gcnew MySqlCommand("DELETE FROM `chikitsalaya` .`doctor`  WHERE doctor_user_name='"+this->textBox5->Text+"';", conDataBase );
			MySqlDataReader ^myReader;
			
		try{
		   conDataBase->Open();
					 myReader = cmdDataBase->ExecuteReader();
					  MessageBox::Show("Deleted");
					 while(myReader->Read());
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
			 //******************************************************************************
		//***********************NOW AFTER DeleTION OF A DOCTOR UPDATING THE GRIDVIEW**********************************************
		 String^ constring1 = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase1 = gcnew MySqlConnection( constring1 ); 
			MySqlCommand ^cmdDataBase1 = gcnew MySqlCommand("SELECT * FROM `chikitsalaya` .`doctor` ;", conDataBase1 ); 
			MySqlDataReader ^myReader1;

		try{
		    MySqlDataAdapter ^ sda1= gcnew MySqlDataAdapter();
			sda1->SelectCommand=cmdDataBase1;
			DataTable^ datasheet= gcnew DataTable();
			sda1->Fill(datasheet);
			BindingSource^ source= gcnew BindingSource();
			source->DataSource=datasheet;
			dataGridView1->DataSource=source;
			sda1->Update(datasheet);
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
		//********************************************************************************************************************************
		 }
		  //above deletes a doctorfrom doctor table
private: System::Void rEMOVEToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
			  this->tabControl1->Visible=false;
			 this->tabControl2->Visible=true;
				 this->tabControl3->Visible=false;
				 this->tabControl4->Visible=false;
					this->tabControl5->Visible=false;
					this->tabControl6->Visible=false;
					this->tabControl7->Visible=false;
					this->tabControl8->Visible=false;
					this->tabControl9->Visible=false;
					this->tabControl10->Visible=false;
					this->tabControl11->Visible=false;
				 this->tabControl12->Visible=false;
				   this->tabControl13->Visible=false;
		 }
		 //above deletes a doctorfrom doctor table
private: System::Void uPDATEToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
			  this->tabControl1->Visible=false;
			 this->tabControl2->Visible=false;
				 this->tabControl3->Visible=true;
				 this->tabControl4->Visible=false;
					this->tabControl5->Visible=false;
					this->tabControl6->Visible=false;
					this->tabControl7->Visible=false;
					this->tabControl8->Visible=false;
					this->tabControl9->Visible=false;
					this->tabControl10->Visible=false;
					this->tabControl11->Visible=false;
				 this->tabControl12->Visible=false;
				   this->tabControl13->Visible=false;
		 } 
		  // above updates doctor table
private: System::Void label10_Click(System::Object^  sender, System::EventArgs^  e) {
		 }
private: System::Void button3_Click(System::Object^  sender, System::EventArgs^  e) {
			 //********************COde to update the Doctor database***********************************
			 String^ constring = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase = gcnew MySqlConnection( constring ); 
			MySqlCommand ^cmdDataBase = gcnew MySqlCommand("UPDATE `chikitsalaya` .`doctor` SET doctor_name='"+this->textBox7->Text+"',contact_number='"+this->textBox8->Text+"',address='"+this->textBox9->Text+"',specialization='"+this->comboBox2->Text+"' WHERE doctor_user_name='"+this->textBox6->Text+"' ;", conDataBase ); 
			MySqlDataReader ^myReader;

		try{
		   conDataBase->Open();
					 myReader = cmdDataBase->ExecuteReader();
					  MessageBox::Show("Updated");
					 while(myReader->Read());
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
		//*************************************************************************************
		//***********************NOW AFTER UPdating OF A DOCTOR UPDATING THE GRIDVIEW**********************************************
		 String^ constring1 = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase1 = gcnew MySqlConnection( constring1 ); 
			MySqlCommand ^cmdDataBase1 = gcnew MySqlCommand("SELECT * FROM `chikitsalaya` .`doctor` ;", conDataBase1 ); 
			MySqlDataReader ^myReader1;

		try{
		    MySqlDataAdapter ^ sda1= gcnew MySqlDataAdapter();
			sda1->SelectCommand=cmdDataBase1;
			DataTable^ datasheet= gcnew DataTable();
			sda1->Fill(datasheet);
			BindingSource^ source= gcnew BindingSource();
			source->DataSource=datasheet;
			dataGridView1->DataSource=source;
			sda1->Update(datasheet);
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
		//********************************************************************************************************************************
		 }
		   // above updates doctor table

private: System::Void rECEPTIONISTToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
			  this->textBox52->Text="CURRENT RECEPTIONIST TABLE IS:-";
			 //*************************************************************************************
		//***********************SHOWING ALL RECEPTIONISTS FROM LOGIN USERS TABLE**********************************************
		 //***********************CODE TO DISPLAY   RECEPTIONISTS DIRECTLY FROM SERVER In THE DATA GRID VIEW**********************
			 String^ constring = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase = gcnew MySqlConnection( constring ); 
			MySqlCommand ^cmdDataBase = gcnew MySqlCommand("SELECT * FROM `chikitsalaya` .`login_users`  WHERE usertype ='receptionist' ;", conDataBase ); 
			MySqlDataReader ^myReader;

		try{
		    MySqlDataAdapter ^ sda= gcnew MySqlDataAdapter();
			sda->SelectCommand=cmdDataBase;
			DataTable^ datasheet= gcnew DataTable();
			sda->Fill(datasheet);
			BindingSource^ source= gcnew BindingSource();
			source->DataSource=datasheet;
			dataGridView1->DataSource=source;
			sda->Update(datasheet);
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
		//************************************************************************************************************
		//********************************************************************************************************************************
		 }
		 
private: System::Void tabPage3_Click(System::Object^  sender, System::EventArgs^  e) {
		 }
private: System::Void aDDToolStripMenuItem1_Click(System::Object^  sender, System::EventArgs^  e) {
			  this->tabControl1->Visible=false;
			 this->tabControl2->Visible=false;
				 this->tabControl3->Visible=false;
				 this->tabControl4->Visible=true;
					this->tabControl5->Visible=false;
					this->tabControl6->Visible=false;
					this->tabControl7->Visible=false;
					this->tabControl8->Visible=false;
					this->tabControl9->Visible=false;
					this->tabControl10->Visible=false;
					this->tabControl11->Visible=false;
				 this->tabControl12->Visible=false;
				  this->tabControl13->Visible=false;
		 }
		 //above shows add tab of receptionist
private: System::Void button4_Click(System::Object^  sender, System::EventArgs^  e) {

			 //********************************************************************************************************************
			 //***********************CODE that ADDs receptionist  TO DATA BASE DIRECTLY TO SERVER**********************
			String^ constring = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase = gcnew MySqlConnection( constring ); 
			MySqlCommand ^cmdDataBase = gcnew MySqlCommand("INSERT INTO  `chikitsalaya` .`login_users` (id,username,password,usertype) VALUES('"+this->textBox10->Text+"','"+this->textBox11->Text+"','"+this->textBox12->Text+"','receptionist') ;", conDataBase ); 
			MySqlDataReader ^myReader;

		try{
		   conDataBase->Open();
					 myReader = cmdDataBase->ExecuteReader();
					  MessageBox::Show("Added receptionist");
					 while(myReader->Read());
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
		 conDataBase->Close();
		//***********************NOW AFTER ADDITION OF A Receptionist UPDATING THE GRIDVIEW**********************************************
		 String^ constring1 = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase1 = gcnew MySqlConnection( constring1 ); 
			MySqlCommand ^cmdDataBase1 = gcnew MySqlCommand("SELECT * FROM `chikitsalaya` .`login_users`  WHERE usertype ='receptionist' ;", conDataBase ); 
			MySqlDataReader ^myReader1;

		try{
		    MySqlDataAdapter ^ sda1= gcnew MySqlDataAdapter();
			sda1->SelectCommand=cmdDataBase1;
			DataTable^ datasheet= gcnew DataTable();
			sda1->Fill(datasheet);
			BindingSource^ source= gcnew BindingSource();
			source->DataSource=datasheet;
			dataGridView1->DataSource=source;
			sda1->Update(datasheet);
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
		//********************************************************************************************************************************
		 }// //above adds a receptionist
private: System::Void textBox11_TextChanged(System::Object^  sender, System::EventArgs^  e) {
		 }
private: System::Void label15_Click(System::Object^  sender, System::EventArgs^  e) {
		 }
private: System::Void tabPage6_Click(System::Object^  sender, System::EventArgs^  e) {
		 }
private: System::Void button5_Click(System::Object^  sender, System::EventArgs^  e) {
 //************************Code TO delete a receptionist****************************
			 	 String^ constring = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase = gcnew MySqlConnection( constring ); 
			MySqlCommand ^cmdDataBase = gcnew MySqlCommand("DELETE FROM `chikitsalaya` .`login_users`  WHERE username='"+this->textBox13->Text+"';", conDataBase );
			MySqlDataReader ^myReader;
			
		try{
		   conDataBase->Open();
					 myReader = cmdDataBase->ExecuteReader();
					  MessageBox::Show("Deleted");
					 while(myReader->Read());
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
			 //******************************************************************************
		//***********************NOW AFTER DeleTION OF A receptionist UPDATING THE GRIDVIEW**********************************************
		 String^ constring1 = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase1 = gcnew MySqlConnection( constring1 ); 
			MySqlCommand ^cmdDataBase1 = gcnew MySqlCommand("SELECT * FROM `chikitsalaya` .`login_users` where usertype='receptionist' ;", conDataBase1 ); 
			MySqlDataReader ^myReader1;

		try{
		    MySqlDataAdapter ^ sda1= gcnew MySqlDataAdapter();
			sda1->SelectCommand=cmdDataBase1;
			DataTable^ datasheet= gcnew DataTable();
			sda1->Fill(datasheet);
			BindingSource^ source= gcnew BindingSource();
			source->DataSource=datasheet;
			dataGridView1->DataSource=source;
			sda1->Update(datasheet);
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
		//********************************************************************************************************************************
		 }
		 //deletes a receptionist
private: System::Void rEMOVEToolStripMenuItem1_Click(System::Object^  sender, System::EventArgs^  e) {
			   this->tabControl1->Visible=false;
			 this->tabControl2->Visible=false;
				 this->tabControl3->Visible=false;
				 this->tabControl4->Visible=false;
					this->tabControl5->Visible=true;
					this->tabControl6->Visible=false;
					this->tabControl7->Visible=false;
					this->tabControl8->Visible=false;
					this->tabControl9->Visible=false;
					this->tabControl10->Visible=false;
					this->tabControl11->Visible=false;
				 this->tabControl12->Visible=false;
				  this->tabControl13->Visible=false;
		 }
private: System::Void uPDATEToolStripMenuItem1_Click(System::Object^  sender, System::EventArgs^  e) {
			 this->tabControl1->Visible=false;
			 this->tabControl2->Visible=false;
				 this->tabControl3->Visible=false;
				 this->tabControl4->Visible=false;
					this->tabControl5->Visible=false;
					this->tabControl6->Visible=true;
					this->tabControl7->Visible=false;
					this->tabControl8->Visible=false;
					this->tabControl9->Visible=false;
					this->tabControl10->Visible=false;
					this->tabControl11->Visible=false;
				 this->tabControl12->Visible=false;
				  this->tabControl13->Visible=false;
		 }
private: System::Void button6_Click(System::Object^  sender, System::EventArgs^  e) {
             //********************COde to update the receptioist from login user database***********************************
			 String^ constring = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase = gcnew MySqlConnection( constring ); 
			MySqlCommand ^cmdDataBase = gcnew MySqlCommand("UPDATE `chikitsalaya` .`login_users` SET username='"+this->textBox15->Text+"',password='"+this->textBox16->Text+"',usertype='"+this->comboBox3->Text+"' WHERE id='"+this->textBox14->Text+"' ;", conDataBase ); 
			MySqlDataReader ^myReader;

		try{
		   conDataBase->Open();
					 myReader = cmdDataBase->ExecuteReader();
					  MessageBox::Show("Updated");
					 while(myReader->Read());
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
		//*************************************************************************************
		//***********************NOW AFTER UPdating OF A receptionist UPDATING THE GRIDVIEW**********************************************
		 String^ constring1 = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase1 = gcnew MySqlConnection( constring1 ); 
			MySqlCommand ^cmdDataBase1 = gcnew MySqlCommand("SELECT * FROM `chikitsalaya` .`login_users` where usertype='receptionist' ;", conDataBase1 ); 
			MySqlDataReader ^myReader1;

		try{
		    MySqlDataAdapter ^ sda1= gcnew MySqlDataAdapter();
			sda1->SelectCommand=cmdDataBase1;
			DataTable^ datasheet= gcnew DataTable();
			sda1->Fill(datasheet);
			BindingSource^ source= gcnew BindingSource();
			source->DataSource=datasheet;
			dataGridView1->DataSource=source;
			sda1->Update(datasheet);
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
		//********************************************************************************************************************************     
		 }//updates a receptionist
		 //above updates the cashier
private: System::Void cASHIERToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
			  this->textBox52->Text="CURRENT CASHIER TABLE IS:-";
			 //*************************************************************************************
		//***********************SHOWING ALL cashier FROM LOGIN USERS TABLE**********************************************
		 //***********************CODE TO DISPLAY   cashiers DIRECTLY FROM SERVER In THE DATA GRID VIEW**********************
			 String^ constring = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase = gcnew MySqlConnection( constring ); 
			MySqlCommand ^cmdDataBase = gcnew MySqlCommand("SELECT * FROM `chikitsalaya` .`login_users`  WHERE usertype ='cashier' ;", conDataBase ); 
			MySqlDataReader ^myReader;

		try{
		    MySqlDataAdapter ^ sda= gcnew MySqlDataAdapter();
			sda->SelectCommand=cmdDataBase;
			DataTable^ datasheet= gcnew DataTable();
			sda->Fill(datasheet);
			BindingSource^ source= gcnew BindingSource();
			source->DataSource=datasheet;
			dataGridView1->DataSource=source;
			sda->Update(datasheet);
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
		//************************************************************************************************************

		 }
private: System::Void aDDToolStripMenuItem3_Click(System::Object^  sender, System::EventArgs^  e) {
			  this->tabControl1->Visible=false;
			 this->tabControl2->Visible=false;
				 this->tabControl3->Visible=false;
				 this->tabControl4->Visible=false;
					this->tabControl5->Visible=false;
					this->tabControl6->Visible=false;
					this->tabControl7->Visible=true;
					this->tabControl8->Visible=false;
					this->tabControl9->Visible=false;
					this->tabControl10->Visible=false;
					this->tabControl11->Visible=false;
				 this->tabControl12->Visible=false;
				  this->tabControl13->Visible=false;
		 }
		 //Displays add tab of cashier
private: System::Void button7_Click(System::Object^  sender, System::EventArgs^  e) {
			 //********************************************************************************************************************
			 //***********************CODE that ADDs cashier  TO DATA BASE DIRECTLY TO SERVER**********************
			String^ constring = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase = gcnew MySqlConnection( constring ); 
			MySqlCommand ^cmdDataBase = gcnew MySqlCommand("INSERT INTO  `chikitsalaya` .`login_users` (id,username,password,usertype) VALUES('"+this->textBox17->Text+"','"+this->textBox18->Text+"','"+this->textBox19->Text+"','cashier') ;", conDataBase ); 
			MySqlDataReader ^myReader;

		try{
		   conDataBase->Open();
					 myReader = cmdDataBase->ExecuteReader();
					  MessageBox::Show("Added cashier");
					 while(myReader->Read());
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
		 conDataBase->Close();
		//***********************NOW AFTER ADDITION OF A cashier UPDATING THE GRIDVIEW**********************************************
		 String^ constring1 = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase1 = gcnew MySqlConnection( constring1 ); 
			MySqlCommand ^cmdDataBase1 = gcnew MySqlCommand("SELECT * FROM `chikitsalaya` .`login_users`  WHERE usertype ='cashier' ;", conDataBase ); 
			MySqlDataReader ^myReader1;

		try{
		    MySqlDataAdapter ^ sda1= gcnew MySqlDataAdapter();
			sda1->SelectCommand=cmdDataBase1;
			DataTable^ datasheet= gcnew DataTable();
			sda1->Fill(datasheet);
			BindingSource^ source= gcnew BindingSource();
			source->DataSource=datasheet;
			dataGridView1->DataSource=source;
			sda1->Update(datasheet);
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
		//***********************************************************************************************
		 }
private: System::Void mODIFYToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
			this->tabControl1->Visible=false;
			 this->tabControl2->Visible=false;
				 this->tabControl3->Visible=false;
				 this->tabControl4->Visible=false;
					this->tabControl5->Visible=false;
					this->tabControl6->Visible=false;
					this->tabControl7->Visible=false;
					this->tabControl8->Visible=true;
					this->tabControl9->Visible=false;
					this->tabControl10->Visible=false;
					this->tabControl11->Visible=false;
				 this->tabControl12->Visible=false;
				  this->tabControl13->Visible=false;
		 }//above shows remove cashier tab control
private: System::Void tabPage14_Click(System::Object^  sender, System::EventArgs^  e) {
		 }
		 private: System::Void button8_Click(System::Object^  sender, System::EventArgs^  e) {
             //************************Code TO delete a cashier****************************
			 	 String^ constring = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase = gcnew MySqlConnection( constring ); 
			MySqlCommand ^cmdDataBase = gcnew MySqlCommand("DELETE FROM `chikitsalaya` .`login_users`  WHERE username='"+this->textBox20->Text+"';", conDataBase );
			MySqlDataReader ^myReader;
			
		try{
		   conDataBase->Open();
					 myReader = cmdDataBase->ExecuteReader();
					  MessageBox::Show("Deleted");
					 while(myReader->Read());
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
			 //******************************************************************************
		//***********************NOW AFTER DeleTION OF A cashier UPDATING THE GRIDVIEW**********************************************
		 String^ constring1 = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase1 = gcnew MySqlConnection( constring1 ); 
			MySqlCommand ^cmdDataBase1 = gcnew MySqlCommand("SELECT * FROM `chikitsalaya` .`login_users` where usertype='cashier' ;", conDataBase1 ); 
			MySqlDataReader ^myReader1;

		try{
		    MySqlDataAdapter ^ sda1= gcnew MySqlDataAdapter();
			sda1->SelectCommand=cmdDataBase1;
			DataTable^ datasheet= gcnew DataTable();
			sda1->Fill(datasheet);
			BindingSource^ source= gcnew BindingSource();
			source->DataSource=datasheet;
			dataGridView1->DataSource=source;
			sda1->Update(datasheet);
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
		//************************************************************************************
		 }
		 //above button 8 removes a cashier
private: System::Void button9_Click(System::Object^  sender, System::EventArgs^  e) {
			  //********************COde to update the cashierfrom login user database***********************************
			 String^ constring = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase = gcnew MySqlConnection( constring ); 
			MySqlCommand ^cmdDataBase = gcnew MySqlCommand("UPDATE `chikitsalaya` .`login_users` SET username='"+this->textBox22->Text+"',password='"+this->textBox23->Text+"',usertype='"+this->comboBox4->Text+"' WHERE id='"+this->textBox21->Text+"' ;", conDataBase ); 
			MySqlDataReader ^myReader;

		try{
		   conDataBase->Open();
					 myReader = cmdDataBase->ExecuteReader();
					  MessageBox::Show("Updated");
					 while(myReader->Read());
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
		//*************************************************************************************
		//***********************NOW AFTER UPdating OF A cashier UPDATING THE GRIDVIEW**********************************************
		 String^ constring1 = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase1 = gcnew MySqlConnection( constring1 ); 
			MySqlCommand ^cmdDataBase1 = gcnew MySqlCommand("SELECT * FROM `chikitsalaya` .`login_users` where usertype='cashier' ;", conDataBase1 ); 
			MySqlDataReader ^myReader1;

		try{
		    MySqlDataAdapter ^ sda1= gcnew MySqlDataAdapter();
			sda1->SelectCommand=cmdDataBase1;
			DataTable^ datasheet= gcnew DataTable();
			sda1->Fill(datasheet);
			BindingSource^ source= gcnew BindingSource();
			source->DataSource=datasheet;
			dataGridView1->DataSource=source;
			sda1->Update(datasheet);
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
		//************************************************************************************************
		 }
private: System::Void uPDATEToolStripMenuItem3_Click(System::Object^  sender, System::EventArgs^  e) {
			 this->tabControl1->Visible=false;
			 this->tabControl2->Visible=false;
				 this->tabControl3->Visible=false;
				 this->tabControl4->Visible=false;
					this->tabControl5->Visible=false;
					this->tabControl6->Visible=false;
					this->tabControl7->Visible=false;
					this->tabControl8->Visible=false;
					this->tabControl9->Visible=true;
					this->tabControl10->Visible=false;
					this->tabControl11->Visible=false;
				 this->tabControl12->Visible=false;
				  this->tabControl13->Visible=false;
		 }
		 //above shows update tab for cashier
private: System::Void button10_Click(System::Object^  sender, System::EventArgs^  e) {
             //********************************************************************************************************************
			 //***********************CODE that ADDs patient  TO DATA BASE DIRECTLY TO SERVER**********************
			String^ constring = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase = gcnew MySqlConnection( constring ); 
			MySqlCommand ^cmdDataBase = gcnew MySqlCommand("INSERT INTO  `chikitsalaya` .`patient` (patient_user_name,pat_name,pat_age,pat_address,pat_dob,pat_bloodgroup,pat_mobile,admit_status,checkin,doctor_username,appointment_doctor_username,granted) VALUES('"+this->textBox24->Text+"','"+this->textBox25->Text+"','"+this->textBox26->Text+"','"+this->textBox27->Text+"','"+this->textBox28->Text+"','"+this->textBox29->Text+"','"+this->textBox30->Text+"','"+this->textBox31->Text+"','"+this->textBox32->Text+"','"+this->textBox33->Text+"','"+this->textBox34->Text+"','"+this->textBox35->Text+"') ;", conDataBase ); 
			MySqlDataReader ^myReader;

		try{
		   conDataBase->Open();
					 myReader = cmdDataBase->ExecuteReader();
					  MessageBox::Show("Added patient");
					 while(myReader->Read());
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
		 conDataBase->Close();
		//***********************NOW AFTER ADDITION OF A patient UPDATING THE GRIDVIEW**********************************************
		 String^ constring1 = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase1 = gcnew MySqlConnection( constring1 ); 
			MySqlCommand ^cmdDataBase1 = gcnew MySqlCommand("SELECT * FROM `chikitsalaya` .`patient` ;", conDataBase1 );
			MySqlDataReader ^myReader1;

		try{
		    MySqlDataAdapter ^ sda1= gcnew MySqlDataAdapter();
			sda1->SelectCommand=cmdDataBase1;
			DataTable^ datasheet= gcnew DataTable();
			sda1->Fill(datasheet);
			BindingSource^ source= gcnew BindingSource();
			source->DataSource=datasheet;
			dataGridView1->DataSource=source;
			sda1->Update(datasheet);
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
		//***********************************************************************************************
		 }
private: System::Void pATIENTToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
			  this->textBox52->Text="CURRENT PATIENT TABLE IS:-";
			 //***************************showing patient table on grid view****************************
			 String^ constring1 = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase1 = gcnew MySqlConnection( constring1 ); 
			MySqlCommand ^cmdDataBase1 = gcnew MySqlCommand("SELECT * FROM `chikitsalaya` .`patient` ;", conDataBase1 );
			MySqlDataReader ^myReader1;

		try{
		    MySqlDataAdapter ^ sda1= gcnew MySqlDataAdapter();
			sda1->SelectCommand=cmdDataBase1;
			DataTable^ datasheet= gcnew DataTable();
			sda1->Fill(datasheet);
			BindingSource^ source= gcnew BindingSource();
			source->DataSource=datasheet;
			dataGridView1->DataSource=source;
			sda1->Update(datasheet);
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
		//***********************************************************************************************
		 }
private: System::Void aDDToolStripMenuItem4_Click(System::Object^  sender, System::EventArgs^  e) {
			 this->tabControl1->Visible=false;
			 this->tabControl2->Visible=false;
				 this->tabControl3->Visible=false;
				 this->tabControl4->Visible=false;
					this->tabControl5->Visible=false;
					this->tabControl6->Visible=false;
					this->tabControl7->Visible=false;
					this->tabControl8->Visible=false;
					this->tabControl9->Visible=false;
					this->tabControl10->Visible=true;
					this->tabControl11->Visible=false;
				 this->tabControl12->Visible=false;
				  this->tabControl13->Visible=false;
		 }
		 //above shows tab control for adding in patient
private: System::Void rEToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
			  this->tabControl1->Visible=false;
			 this->tabControl2->Visible=false;
				 this->tabControl3->Visible=false;
				 this->tabControl4->Visible=false;
					this->tabControl5->Visible=false;
					this->tabControl6->Visible=false;
					this->tabControl7->Visible=false;
					this->tabControl8->Visible=false;
					this->tabControl9->Visible=false;
					this->tabControl10->Visible=false;
					this->tabControl11->Visible=true;
				 this->tabControl12->Visible=false;
				  this->tabControl13->Visible=false;
		 }
		 //shows remove patient tab
private: System::Void button11_Click(System::Object^  sender, System::EventArgs^  e) {
			 	 String^ constring = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase = gcnew MySqlConnection( constring ); 
			MySqlCommand ^cmdDataBase = gcnew MySqlCommand("DELETE FROM `chikitsalaya`.`patient` WHERE patient_user_name='"+this->textBox36->Text+"';", conDataBase ); 
			MySqlDataReader ^myReader;

		try{
		   conDataBase->Open();
					 myReader = cmdDataBase->ExecuteReader();
					  MessageBox::Show("Deleted");
					 while(myReader->Read());
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
		 //******************************************************************************
		//***********************NOW AFTER DeleTION OF A patient UPDATING THE GRIDVIEW**********************************************
		 String^ constring1 = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase1 = gcnew MySqlConnection( constring1 ); 
			MySqlCommand ^cmdDataBase1 = gcnew MySqlCommand("SELECT * FROM `chikitsalaya` .`patient` ;", conDataBase1 ); 
			MySqlDataReader ^myReader1;

		try{
		    MySqlDataAdapter ^ sda1= gcnew MySqlDataAdapter();
			sda1->SelectCommand=cmdDataBase1;
			DataTable^ datasheet= gcnew DataTable();
			sda1->Fill(datasheet);
			BindingSource^ source= gcnew BindingSource();
			source->DataSource=datasheet;
			dataGridView1->DataSource=source;
			sda1->Update(datasheet);
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
		//************************************************************************************

		 }
		 //button 11 removes a patient
private: System::Void button12_Click(System::Object^  sender, System::EventArgs^  e) {
			  //********************COde to update the cashierfrom login user database***********************************
			 String^ constring = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase = gcnew MySqlConnection( constring ); 
			MySqlCommand ^cmdDataBase = gcnew MySqlCommand("UPDATE `chikitsalaya` .`patient` SET pat_name='"+this->textBox38->Text+"',pat_age='"+this->textBox39->Text+"',pat_address='"+this->textBox40->Text+"',pat_dob='"+this->textBox41->Text+"',pat_bloodgroup='"+this->textBox42->Text+"',pat_mobile='"+this->textBox43->Text+"',admit_status='"+this->textBox44->Text+"',checkin='"+this->textBox45->Text+"',doctor_name='"+this->textBox46->Text+"',appointment_doctor_username='"+this->textBox47->Text+"',granted='"+this->textBox48->Text+"' WHERE patient_user_name='"+this->textBox37->Text+"' ;", conDataBase ); 
			MySqlDataReader ^myReader;

		try{
		   conDataBase->Open();
					 myReader = cmdDataBase->ExecuteReader();
					  MessageBox::Show("Updated");
					 while(myReader->Read());
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
		//*************************************************************************************
		//***********************NOW AFTER UPdating OF A cashier UPDATING THE GRIDVIEW**********************************************
		 String^ constring1 = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase1 = gcnew MySqlConnection( constring1 ); 
			MySqlCommand ^cmdDataBase1 = gcnew MySqlCommand("SELECT * FROM `chikitsalaya` .`patient`;", conDataBase1 ); 
			MySqlDataReader ^myReader1;

		try{
		    MySqlDataAdapter ^ sda1= gcnew MySqlDataAdapter();
			sda1->SelectCommand=cmdDataBase1;
			DataTable^ datasheet= gcnew DataTable();
			sda1->Fill(datasheet);
			BindingSource^ source= gcnew BindingSource();
			source->DataSource=datasheet;
			dataGridView1->DataSource=source;
			sda1->Update(datasheet);
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
		//************************************************************************************************
		 }
		 //above updates patient's details
private: System::Void button13_Click(System::Object^  sender, System::EventArgs^  e) {
			   //********************COde to update the admin from login user database***********************************
			 String^ constring = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase = gcnew MySqlConnection( constring ); 
			MySqlCommand ^cmdDataBase = gcnew MySqlCommand("UPDATE `chikitsalaya` .`login_users` SET username='"+this->textBox50->Text+"',password='"+this->textBox51->Text+"',usertype='"+this->comboBox5->Text+"' WHERE id='"+this->textBox49->Text+"' ;", conDataBase ); 
			MySqlDataReader ^myReader;

		try{
		   conDataBase->Open();
					 myReader = cmdDataBase->ExecuteReader();
					  MessageBox::Show("Updated");
					 while(myReader->Read());
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
		//*************************************************************************************
		//***********************NOW AFTER UPdating OF ADMIN UPDATING THE GRIDVIEW**********************************************
		 String^ constring1 = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase1 = gcnew MySqlConnection( constring1 ); 
			MySqlCommand ^cmdDataBase1 = gcnew MySqlCommand("SELECT * FROM `chikitsalaya` .`login_users` where usertype='administrator' ;", conDataBase1 ); 
			MySqlDataReader ^myReader1;

		try{
		    MySqlDataAdapter ^ sda1= gcnew MySqlDataAdapter();
			sda1->SelectCommand=cmdDataBase1;
			DataTable^ datasheet= gcnew DataTable();
			sda1->Fill(datasheet);
			BindingSource^ source= gcnew BindingSource();
			source->DataSource=datasheet;
			dataGridView1->DataSource=source;
			sda1->Update(datasheet);
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
		//************************************************************************************************

		 }
private: System::Void aDMINToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
			  this->textBox52->Text="CURRENT ADMIN ATTRIBUTES ARE:-";
			 //***************************showing patient table on grid view****************************
			 String^ constring1 = L"datasource=localhost;port=3306;username=root;password=root"; 
			MySqlConnection^ conDataBase1 = gcnew MySqlConnection( constring1 ); 
			MySqlCommand ^cmdDataBase1 = gcnew MySqlCommand("SELECT * FROM `chikitsalaya` .`login_users` where usertype='administrator' ;", conDataBase1 );
			MySqlDataReader ^myReader1;

		try{
		    MySqlDataAdapter ^ sda1= gcnew MySqlDataAdapter();
			sda1->SelectCommand=cmdDataBase1;
			DataTable^ datasheet= gcnew DataTable();
			sda1->Fill(datasheet);
			BindingSource^ source= gcnew BindingSource();
			source->DataSource=datasheet;
			dataGridView1->DataSource=source;
			sda1->Update(datasheet);
		}
		catch(Exception^ex)
                
                     {
                        MessageBox::Show(ex->Message);
                    }
		//***********************************************************************************************
		 }
private: System::Void uPDATEToolStripMenuItem4_Click(System::Object^  sender, System::EventArgs^  e) {
            this->tabControl1->Visible=false;
			 this->tabControl2->Visible=false;
				 this->tabControl3->Visible=false;
				 this->tabControl4->Visible=false;
					this->tabControl5->Visible=false;
					this->tabControl6->Visible=false;
					this->tabControl7->Visible=false;
					this->tabControl8->Visible=false;
					this->tabControl9->Visible=false;
					this->tabControl10->Visible=false;
					this->tabControl11->Visible=false;
				 this->tabControl12->Visible=true;
				  this->tabControl13->Visible=false;
		 }
private: System::Void uPDATEToolStripMenuItem2_Click(System::Object^  sender, System::EventArgs^  e) {
			   this->tabControl1->Visible=false;
			 this->tabControl2->Visible=false;
				 this->tabControl3->Visible=false;
				 this->tabControl4->Visible=false;
					this->tabControl5->Visible=false;
					this->tabControl6->Visible=false;
					this->tabControl7->Visible=false;
					this->tabControl8->Visible=false;
					this->tabControl9->Visible=false;
					this->tabControl10->Visible=false;
					this->tabControl11->Visible=false;
				 this->tabControl12->Visible=false;
				  this->tabControl13->Visible=true;
		 }
};

}

